2025-03-25 16:20:44 +01:00

44 lines
1.4 KiB
Nix

{pkgs, lib, ...}:
let
stylix = import ./stylix.nix { inherit pkgs; };
in
{
programs.kitty = {
enable = true;
shellIntegration.enableFishIntegration = true;
settings = {
# # import the colors from the stylix theme, but keep the background black
# color0 = stylix.colors.background;
# color1 = stylix.base16Scheme.base01;
# color2 = stylix.colors.green;
# color3 = stylix.colors.yellow;
# color0 = stylix.colors.background;
# color1 = stylix.colors.red;
# color2 = stylix.colors.green;
# color3 = stylix.colors.yellow;
background = "#000000";
confirm_os_window_close = 0;
enable_audio_bell = false;
cursor_trail = 3;
cursor_trail_decay = "0.1 0.4";
url_style = "curly";
notify_on_cmd_finish = "unfocused";
};
keybindings = {
# copy and paste
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
# zoom
"ctrl+shift+plus" = "increase_font_size";
"ctrl+shift+minus" = "decrease_font_size";
"ctrl+shift+0" = "reset_font_size";
# tabs
"ctrl+shift+t" = "new_tab";
"ctrl+shift+w" = "close_tab";
};
};
}