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 {
|
2026-01-13 15:39:16 -05:00
|
|
|
catppuccin.kitty.enable = true;
|
|
|
|
|
|
2024-05-23 20:26:30 +00:00
|
|
|
programs.kitty = {
|
|
|
|
|
enable = true;
|
|
|
|
|
extraConfig = ''
|
2026-01-13 15:39:16 -05:00
|
|
|
font_family family='Berkeley Mono' style='Retina ExtraCondensed'
|
|
|
|
|
bold_font family='Berkeley Mono' style='SemiBold ExtraCondensed'
|
|
|
|
|
italic_font family='Berkeley Mono' style='Retina ExtraCondensed'
|
|
|
|
|
bold_italic_font family='Berkeley Mono' style='SemiBold ExtraCondensed'
|
2024-05-23 20:26:30 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
settings = {
|
2025-05-06 20:02:36 -04:00
|
|
|
window_padding_width = 20;
|
2026-01-13 15:39:16 -05:00
|
|
|
# background_opacity = "0.9";
|
2025-04-27 11:11:51 -04:00
|
|
|
|
2025-06-15 18:15:28 -04:00
|
|
|
font_hinting = "slight";
|
|
|
|
|
|
2025-08-02 16:20:18 -04:00
|
|
|
cursor_trail = 3;
|
|
|
|
|
|
2025-06-15 18:15:28 -04:00
|
|
|
text_composition_strategy = "1.2 10";
|
2024-05-23 20:26:30 +00:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|