feat[client]: manage zellij using nix

This commit is contained in:
Leon Schwarzäugl 2025-11-17 22:43:34 +01:00 committed by Leon Schwarzäugl
parent 8838f98658
commit 4473255269
5 changed files with 2604 additions and 10 deletions

View file

@ -4,11 +4,25 @@
config = lib.mkIf config.swarselmodules.kitty {
programs.kitty = {
enable = true;
keybindings = { };
keybindings =
let
bindWithModifier = lib.mapAttrs' (key: lib.nameValuePair ("ctrl+shift" + key));
in
bindWithModifier {
"page_up" = "scroll_page_up";
"up" = "scroll_page_up";
"page_down" = "scroll_page_down";
"down" = "scroll_page_down";
"w" = "no_op";
};
settings = {
scrollback_lines = 10000;
cursor_blink_interval = 0;
disable_ligatures = "cursor";
enable_audio_bell = false;
notify_on_cmd_finish = "always 20";
open_url_with = "xdg-open";
scrollback_lines = 100000;
scrollback_pager_history_size = 512;
};
};
};