aboutsummaryrefslogtreecommitdiff
path: root/util/modules/home/kitty.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-10 19:48:45 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-10 19:48:45 -0700
commit6eda4acc251fed0afbf5f1a85a63e321d8234799 (patch)
tree0be125628339545e8a11cd29a994271bc16f55b3 /util/modules/home/kitty.nix
Initial Commit
Diffstat (limited to 'util/modules/home/kitty.nix')
-rw-r--r--util/modules/home/kitty.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/util/modules/home/kitty.nix b/util/modules/home/kitty.nix
new file mode 100644
index 0000000..852f554
--- /dev/null
+++ b/util/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
+ '';
+ };
+}