mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{pkgs, ...}: {
|
|
programs.kitty = {
|
|
enable = true;
|
|
settings = {
|
|
font_size = 12;
|
|
cursor_shape = "beam";
|
|
hide_window_decorations = "yes";
|
|
|
|
enable_audio_bell = false;
|
|
cursor_blink_interval = 0;
|
|
confirm_os_window_close = 0;
|
|
disable_ligatures = "always";
|
|
placement_strategy = "bottom";
|
|
};
|
|
|
|
extraConfig = ''
|
|
clear_all_shortcuts yes
|
|
map ctrl+shift+c copy_to_clipboard
|
|
map ctrl+shift+v paste_from_clipboard
|
|
|
|
map ctrl+equal change_font_size current +1.0
|
|
map ctrl+plus change_font_size current +1.0
|
|
map ctrl+minus change_font_size current -1.0
|
|
map ctrl+0 change_font_size current 0
|
|
map ctrl+backspace change_font_size current 0
|
|
'';
|
|
};
|
|
|
|
xdg.configFile."kitty/light-theme.auto.conf".source = "${pkgs.kitty-themes}/share/kitty-themes/themes/Catppuccin-Latte.conf";
|
|
xdg.configFile."kitty/dark-theme.auto.conf".source = "${pkgs.kitty-themes}/share/kitty-themes/themes/Catppuccin-Mocha.conf";
|
|
xdg.configFile."kitty/no-preference-theme.auto.conf".source = "${pkgs.kitty-themes}/share/kitty-themes/themes/Catppuccin-Mocha.conf";
|
|
}
|