aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/kitty/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-07-10 01:29:48 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-07-10 01:29:48 +0530
commit085ff668ab45ac8d57c093e502b1175a86f2c14e (patch)
tree0fe7de3fdb29a9d0f7294e4af91d938fe5283533 /modules/tools/kitty/default.nix
parent70b590bf6b83dcb8f142451951a0f54ec3308283 (diff)
downloadhome-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.tar.gz
home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.zip
Removed unnecessary packages.
Diffstat (limited to 'modules/tools/kitty/default.nix')
-rw-r--r--modules/tools/kitty/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/modules/tools/kitty/default.nix b/modules/tools/kitty/default.nix
new file mode 100644
index 0000000..74b4519
--- /dev/null
+++ b/modules/tools/kitty/default.nix
@@ -0,0 +1,47 @@
+{ pkgs, config, lib, ... }:
+
+{
+ options.tools.kitty = {
+ enable = lib.mkEnableOption "Enables kitty. WARNING! Currently faces problems with color rendering with picom.";
+ };
+
+ 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";
+
+ dynamic_background_opacity = false;
+ allow_remote_control = false;
+ enable_audio_bell = false;
+
+ background = base00;
+ foreground = base05;
+ text_composition_strategy = "legacy";
+
+ 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
+
+ selection_background = base03;
+ selection_foreground = base00;
+ };
+ };
+}