nix-config/home/kitty.nix
Donovan Glover 8ea3afa900
kitty: Use sane layout order
This is similar to before and makes it easier to recognize all the
different layouts when switching between them.
2024-04-05 08:11:07 -04:00

40 lines
979 B
Nix

{ config, ... }:
{
programs.kitty = {
enable = true;
settings = {
enable_audio_bell = false;
close_on_child_death = true;
cursor_blink_interval = 0;
enabled_layouts = "grid, fat, tall, vertical, stack";
open_url_with = "librewolf";
wayland_titlebar_color = "background";
allow_remote_control = true;
listen_on = "unix:/tmp/kitty";
dynamic_background_opacity = true;
window_padding_width = 5;
tab_bar_margin_width = 5;
scrollback_pager = "less --chop-long-lines --raw-control-chars +INPUT_LINE_NUMBER";
};
extraConfig = with config.lib.stylix.colors; ''
tab_bar_background #${base00}
inactive_tab_background #${base00}
map F1 send_text all \x1afg;notify-send "$(pwd)" "Task Completed."\r
'';
};
xdg.configFile."kitty/diff.conf".text = ''
map d scroll_to next-page
map u scroll_to prev-page
map g scroll_to start
map G scroll_to end
'';
}