From e8344ffab15acffc2530c8ed7950fbda530bb53a Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 9 Aug 2024 00:57:51 -0400 Subject: [PATCH] kitty: add custom theme --- homeManagerModules/apps/kitty/default.nix | 56 ++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/apps/kitty/default.nix b/homeManagerModules/apps/kitty/default.nix index 631fc1a7..9a1a015f 100644 --- a/homeManagerModules/apps/kitty/default.nix +++ b/homeManagerModules/apps/kitty/default.nix @@ -22,7 +22,61 @@ in { tab_bar_style = "powerline"; }; - theme = "Adwaita dark"; + extraConfig = '' + # vim:ft=kitty + + ## name: Adwaita dark + ## license: MIT + ## author: Emil Löfquist (https://github.com/ewal) + ## upstream: https://github.com/ewal/kitty-adwaita/blob/main/adwaita_dark.conf + ## blurb: Adwaita dark - based on https://github.com/Mofiqul/adwaita.nvim + + background ${cfg.theme.colors.background} + foreground ${cfg.theme.colors.text} + + selection_background ${cfg.theme.colors.primary} + selection_foreground ${cfg.theme.colors.text} + + url_color ${cfg.theme.colors.primary} + + wayland_titlebar_color system + macos_titlebar_color system + + cursor ${cfg.theme.colors.text} + cursor_text_color ${cfg.theme.colors.background} + + active_border_color ${cfg.theme.colors.primary} + inactive_border_color ${cfg.theme.colors.inactive} + bell_border_color ${cfg.theme.colors.secondary} + visual_bell_color none + + active_tab_background ${cfg.theme.colors.background} + active_tab_foreground ${cfg.theme.colors.text} + inactive_tab_background ${cfg.theme.colors.background} + inactive_tab_foreground ${cfg.theme.colors.inactive} + tab_bar_background none + tab_bar_margin_color none + + color0 ${cfg.theme.colors.background} + color1 #ed333b + color2 #57e389 + color3 #ff7800 + color4 #62a0ea + color5 #9141ac + color6 #5bc8af + color7 ${cfg.theme.colors.text} + + color8 #9a9996 + color9 #f66151 + color10 #8ff0a4 + color11 #ffa348 + color12 #99c1f1 + color13 #dc8add + color14 #93ddc2 + color15 #f6f5f4 + ''; + + # theme = "Adwaita dark"; }; }; }