feat(kitty): better kitty configuration

This commit is contained in:
Lucien Cartier-Tilet 2025-05-19 18:33:22 +02:00
parent e0a06e39cd
commit a830ba8749
Signed by: phundrak
SSH Key Fingerprint: SHA256:CE0HPsbW3L2YiJETx1zYZ2muMptaAqTN2g3498KrMkc
2 changed files with 14 additions and 9 deletions

View File

@ -1,11 +1,24 @@
{ {pkgs, ...}:{
programs.kitty = { programs.kitty = {
enable = true; enable = true;
themeFile = "Nord"; themeFile = "Nord";
font = {
package = pkgs.cascadia-code;
name = "Cascadia Code";
size = 10;
};
settings = { settings = {
enable_audio_bell = true; enable_audio_bell = true;
visual_bell_duration = 0.1;
enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true"; enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true";
kitty_mod = "ctrl+shift"; kitty_mod = "ctrl+shift";
disable_ligatures = "never";
font_features = "Cascadia-Mono +onum +zero";
cursor_shape = "block";
scrollback_lines = "10000";
mouse_hide_wait = 3.0;
detect_urls = true;
background_opacity = 0.7;
}; };
keybindings = { keybindings = {
"alt+c" = "copy_to_clipboard"; "alt+c" = "copy_to_clipboard";

View File

@ -96,14 +96,6 @@ in {
tectonic # better LaTeX engine tectonic # better LaTeX engine
virt-manager virt-manager
zeal zeal
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# Custom scripts
] ]
++ scripts; ++ scripts;
} }