2024-05-23 20:26:30 +00:00
|
|
|
{
|
|
|
|
|
options,
|
2025-05-19 18:28:46 -04:00
|
|
|
pkgs,
|
2024-05-23 20:26:30 +00:00
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
with lib;
|
|
|
|
|
with lib.custom; let
|
|
|
|
|
cfg = config.apps.term.kitty;
|
|
|
|
|
in {
|
|
|
|
|
options.apps.term.kitty = with types; {
|
|
|
|
|
enable = mkBoolOpt false "Enable Kitty Term";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
|
programs.kitty = {
|
|
|
|
|
enable = true;
|
|
|
|
|
extraConfig = ''
|
2025-07-22 20:21:21 -04:00
|
|
|
font_family family='Berkeley Mono' style='Regular ExtraCondensed'
|
|
|
|
|
bold_font family='Berkeley Mono' style='Retina ExtraCondensed'
|
|
|
|
|
italic_font family='Berkeley Mono' style='Regular ExtraCondensed'
|
|
|
|
|
bold_italic_font family='Berkeley Mono' style='Retina ExtraCondensed'
|
2024-05-23 20:26:30 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
catppuccin.enable = true;
|
|
|
|
|
|
|
|
|
|
settings = {
|
2025-05-06 20:02:36 -04:00
|
|
|
window_padding_width = 20;
|
2025-06-18 12:07:36 -04:00
|
|
|
# background_opacity = "0.9";
|
2025-04-27 11:11:51 -04:00
|
|
|
background = colors.crust.hex;
|
|
|
|
|
foreground = colors.text.hex;
|
|
|
|
|
|
2025-06-15 18:15:28 -04:00
|
|
|
font_hinting = "slight";
|
|
|
|
|
|
|
|
|
|
text_composition_strategy = "1.2 10";
|
|
|
|
|
|
2025-04-27 11:11:51 -04:00
|
|
|
# Normal colors
|
|
|
|
|
color0 = colors.surface1.hex; # black
|
|
|
|
|
color1 = colors.red.hex; # red
|
|
|
|
|
color2 = colors.green.hex; # green
|
|
|
|
|
color3 = colors.yellow.hex; # yellow
|
|
|
|
|
color4 = colors.blue.hex; # blue
|
|
|
|
|
color5 = colors.mauve.hex; # magenta
|
|
|
|
|
color6 = colors.teal.hex; # cyan
|
|
|
|
|
color7 = colors.text.hex; # white
|
|
|
|
|
|
|
|
|
|
# Bright colors
|
|
|
|
|
color8 = colors.surface2.hex; # bright black
|
|
|
|
|
color9 = colors.red.hex; # bright red
|
|
|
|
|
color10 = colors.green.hex; # bright green
|
|
|
|
|
color11 = colors.yellow.hex; # bright yellow
|
|
|
|
|
color12 = colors.blue.hex; # bright blue
|
|
|
|
|
color13 = colors.mauve.hex; # bright magenta
|
|
|
|
|
color14 = colors.teal.hex; # bright cyan
|
|
|
|
|
color15 = colors.text.hex; # bright white
|
2024-05-23 20:26:30 +00:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|