diff options
Diffstat (limited to 'modules/tools/kitty/default.nix')
| -rw-r--r-- | modules/tools/kitty/default.nix | 68 |
1 files changed, 35 insertions, 33 deletions
diff --git a/modules/tools/kitty/default.nix b/modules/tools/kitty/default.nix index a53bbb4..fa7b727 100644 --- a/modules/tools/kitty/default.nix +++ b/modules/tools/kitty/default.nix @@ -6,44 +6,46 @@ }; config = lib.mkIf config.tools.kitty.enable { - programs.kitty.enable = true; - programs.kitty.settings = with config.scheme.withHashtag; { - window_padding_width = 10; - font_size = config.fonts.size; - font_family = config.fonts.normal; - filter_notification = "all"; - update_check_interval = 0; # disable notifications - scrollback_indicator_opacity = "0.5"; + programs.kitty = { + enable = true; + settings = with config.scheme.withHashtag; { + window_padding_width = 10; + font_size = config.fonts.size; + font_family = config.fonts.normal; + filter_notification = "all"; + update_check_interval = 0; + scrollback_indicator_opacity = "0.5"; - dynamic_background_opacity = false; - enable_audio_bell = false; + dynamic_background_opacity = false; + enable_audio_bell = false; - background = base00; - foreground = base05; - text_composition_strategy = "legacy"; + background = base00; + foreground = base05; - color0 = base00; # Black - color8 = base00; # Black - color1 = base08; # Red - color9 = base08; # Red - color2 = base0B; # Green - color10 = base0B; # Green - color3 = base0A; # Yellow - color11 = base0A; # Yellow - color4 = base0D; # Blue - color12 = base0D; # Blue - color5 = base0E; # Magenta - color13 = base0E; # Magenta - color6 = base0C; # Cyan - color14 = base0C; # Cyan - color7 = base05; # White - color15 = base05; # White + color0 = base00; + color1 = base08; + color2 = base0B; + color3 = base0A; + color4 = base0D; + color5 = base0E; + color6 = base0C; + color7 = base05; + color8 = base03; + color9 = base09; + color10 = base0B; + color11 = base0A; + color12 = base0D; + color13 = base0E; + color14 = base0F; + color15 = base07; - selection_background = base03; - selection_foreground = base00; + selection_background = base05; + selection_foreground = base00; - allow_remote_control = "yes"; - listen_on = "unix:/tmp/kitty"; + allow_remote_control = "yes"; + listen_on = "unix:/tmp/kitty"; + shell = lib.mkIf config.tools.zsh.enable "zsh"; + }; }; }; } |
