1
0
forked from extern/nix-config
donovanglover-nix-config/modules/kitty/default.nix

33 lines
795 B
Nix
Raw Normal View History

2023-06-11 15:51:26 +02:00
let VARIABLES = import ../../src/variables.nix; in {
home-manager.sharedModules = [
{
programs.kitty = {
enable = true;
2023-06-05 03:26:34 +02:00
settings = {
enable_audio_bell = false;
close_on_child_death = true;
cursor_blink_interval = 0;
2023-06-05 03:26:34 +02:00
2023-06-09 22:01:50 +02:00
open_url_with = VARIABLES.defaultBrowser;
wayland_titlebar_color = "background";
2023-06-05 03:26:34 +02:00
allow_remote_control = true;
listen_on = "unix:/tmp/kitty";
dynamic_background_opacity = true;
2023-06-05 03:26:34 +02:00
window_padding_width = 5;
tab_bar_margin_width = 5;
};
};
2023-06-05 03:26:34 +02:00
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
'';
}
];
}