diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-19 01:49:07 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-19 01:49:07 +0530 |
| commit | ade4bc05e36fe71c766deb4649a1a88520b33a6f (patch) | |
| tree | e47190cead89238ea093285a46dcb9968dbdb343 /modules/terminal/kitty/default.nix | |
| parent | baae94abb6a9a03914216f0f373b7b0f6b0207bd (diff) | |
| download | home-manager-config-ade4bc05e36fe71c766deb4649a1a88520b33a6f.tar.gz home-manager-config-ade4bc05e36fe71c766deb4649a1a88520b33a6f.zip | |
chore(terminal/kitty): split the kitty config into different modules
Diffstat (limited to 'modules/terminal/kitty/default.nix')
| -rw-r--r-- | modules/terminal/kitty/default.nix | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/modules/terminal/kitty/default.nix b/modules/terminal/kitty/default.nix index f72f862..38f74ac 100644 --- a/modules/terminal/kitty/default.nix +++ b/modules/terminal/kitty/default.nix @@ -2,13 +2,14 @@ { config, lib, - pkgs, ... }: -let - base16Colors = import ../../colors/base16 { inherit config lib pkgs; }; -in { + imports = [ + ./colors.nix + ./keybindings.nix + ]; + options.terminal.kitty = { enable = lib.mkEnableOption "Enables kitty."; package = lib.mkOption { @@ -27,40 +28,15 @@ in programs.kitty = { enable = true; extraConfig = builtins.readFile ./kitty.conf; - settings = with base16Colors.colorsWithHashPrefix; { + settings = { window_padding_width = 10; font_size = config.fonts.size; font_family = config.fonts.normal; filter_notification = "all"; update_check_interval = 0; scrollbar_indicator_opacity = "0.5"; - dynamic_background_opacity = false; enable_audio_bell = false; - - background = base00; - foreground = base05; - - 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 = base05; - selection_foreground = base00; - allow_remote_control = "yes"; listen_on = "unix:/tmp/kitty"; shell = lib.mkIf config.terminal.zsh.enable (lib.getExe config.terminal.zsh.package); |
