From 9cb2de7db967d3f4ce7d3c7f9b62c78d8af2390c Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 17 Nov 2023 18:32:39 +0100 Subject: [PATCH] made kitty configuration and theme custom --- users/servostar/config/kitty/kitty.conf | 7 ++ users/servostar/config/kitty/tokyonight.conf | 77 ++++++++++++++++++++ users/servostar/user.nix | 11 +-- 3 files changed, 87 insertions(+), 8 deletions(-) create mode 100644 users/servostar/config/kitty/kitty.conf create mode 100644 users/servostar/config/kitty/tokyonight.conf diff --git a/users/servostar/config/kitty/kitty.conf b/users/servostar/config/kitty/kitty.conf new file mode 100644 index 0000000..1f46976 --- /dev/null +++ b/users/servostar/config/kitty/kitty.conf @@ -0,0 +1,7 @@ +include ./tokyonight.conf + +background_opacity 1.0 +cursor_shape beam +font_size 12.0 +update_check_interval 0 + diff --git a/users/servostar/config/kitty/tokyonight.conf b/users/servostar/config/kitty/tokyonight.conf new file mode 100644 index 0000000..e309eee --- /dev/null +++ b/users/servostar/config/kitty/tokyonight.conf @@ -0,0 +1,77 @@ +# Tokyo Night color scheme for kitty terminal emulator +# https://github.com/davidmathers/tokyo-night-kitty-theme +# +# Based on Tokyo Night color theme for Visual Studio Code +# https://github.com/enkia/tokyo-night-vscode-theme + +foreground #a9b1d6 +background #1a1b26 + +# Black +color0 #414868 +color8 #414868 + +# Red +color1 #f7768e +color9 #f7768e + +# Green +color2 #73daca +color10 #73daca + +# Yellow +color3 #e0af68 +color11 #e0af68 + +# Blue +color4 #7aa2f7 +color12 #7aa2f7 + +# Magenta +color5 #bb9af7 +color13 #bb9af7 + +# Cyan +color6 #7dcfff +color14 #7dcfff + +# White +color7 #c0caf5 +color15 #c0caf5 + +# Cursor +cursor #c0caf5 +cursor_text_color #1a1b26 + +# Selection highlight +selection_foreground none +selection_background #28344a + +# The color for highlighting URLs on mouse-over +url_color #9ece6a + +# Window borders +active_border_color #3d59a1 +inactive_border_color #101014 +bell_border_color #e0af68 + +# Tab bar +tab_bar_style fade +tab_fade 1 +active_tab_foreground #3d59a1 +active_tab_background #16161e +active_tab_font_style bold +inactive_tab_foreground #787c99 +inactive_tab_background #16161e +inactive_tab_font_style bold +tab_bar_background #101014 + +# Title bar +macos_titlebar_color #16161e + +# Storm +# background #24283b +# cursor_text_color #24283b +# active_tab_background #1f2335 +# inactive_tab_background #1f2335 +# macos_titlebar_color #1f2335 diff --git a/users/servostar/user.nix b/users/servostar/user.nix index fb7bd60..5a18ea3 100644 --- a/users/servostar/user.nix +++ b/users/servostar/user.nix @@ -177,14 +177,6 @@ }; programs.kitty = { enable = true; - theme = "Tokyo Night"; - shellIntegration.enableZshIntegration = true; - settings = { - update_check_interval = 0; - cursor_shape = "beam"; - background_opacity = "0.85"; - font_size = "12.0"; - }; }; # ------------------------------------------------------ @@ -192,6 +184,9 @@ xdg.configFile."starship.toml".source = config/starship.toml; # starship prompt configuration xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption + # kitty configuration + xdg.configFile."kitty/kitty.conf".source = config/kitty/kitty.conf + xdg.configFile."kitty/tokyonight.conf".source = config/kitty/tokyonight.conf # ------------------------------------------------------ # ZSH