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-09-05 09:26:03 -04: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
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|