diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-10 19:48:45 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-10 19:48:45 -0700 |
| commit | 6eda4acc251fed0afbf5f1a85a63e321d8234799 (patch) | |
| tree | 0be125628339545e8a11cd29a994271bc16f55b3 /modules/home/kitty.nix | |
Initial Commit
Diffstat (limited to 'modules/home/kitty.nix')
| -rw-r--r-- | modules/home/kitty.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/home/kitty.nix b/modules/home/kitty.nix new file mode 100644 index 0000000..852f554 --- /dev/null +++ b/modules/home/kitty.nix @@ -0,0 +1,39 @@ +{ config, ... }: + +{ + programs.kitty = { + enable = true; + + font = { name = "monospace"; size = 8.0; }; + + settings = let c = config.theme.colors; in { + color0 = "#${c.black}"; + color1 = "#${c.red}"; + color2 = "#${c.green}"; + color3 = "#${c.yellow}"; + color4 = "#${c.blue}"; + color5 = "#${c.magenta}"; + color6 = "#${c.cyan}"; + color7 = "#${c.white}"; + + color8 = "#${c.brightBlack}"; + color9 = "#${c.brightRed}"; + color10 = "#${c.brightGreen}"; + color11 = "#${c.brightYellow}"; + color12 = "#${c.brightBlue}"; + color13 = "#${c.brightMagenta}"; + color14 = "#${c.brightCyan}"; + color15 = "#${c.brightWhite}"; + }; + + shellIntegration = { + mode = "no-cursor"; + enableBashIntegration = true; + }; + + extraConfig = '' + background_opacity 0.8 + confirm_os_window_close 0 + ''; + }; +} |