2023-07-02 18:07:16 +02:00
|
|
|
{ config, ... }:
|
|
|
|
|
2024-04-05 19:28:23 +02:00
|
|
|
let
|
2024-08-03 19:28:03 +02:00
|
|
|
inherit (config.lib.stylix.colors.withHashtag) base00;
|
2024-04-05 19:28:23 +02:00
|
|
|
in
|
2023-06-22 17:00:39 +02:00
|
|
|
{
|
2023-06-16 13:23:35 +02:00
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
2023-06-05 03:26:34 +02:00
|
|
|
|
2023-06-16 13:23:35 +02:00
|
|
|
settings = {
|
|
|
|
enable_audio_bell = false;
|
|
|
|
close_on_child_death = true;
|
|
|
|
cursor_blink_interval = 0;
|
2023-06-05 03:26:34 +02:00
|
|
|
|
2024-04-06 20:20:06 +02:00
|
|
|
enabled_layouts = "fat, tall, vertical";
|
2023-06-16 13:23:35 +02:00
|
|
|
wayland_titlebar_color = "background";
|
2023-06-05 03:26:34 +02:00
|
|
|
|
2023-06-16 13:23:35 +02:00
|
|
|
allow_remote_control = true;
|
|
|
|
listen_on = "unix:/tmp/kitty";
|
|
|
|
dynamic_background_opacity = true;
|
2023-06-05 03:26:34 +02:00
|
|
|
|
2023-06-16 13:23:35 +02:00
|
|
|
window_padding_width = 5;
|
|
|
|
tab_bar_margin_width = 5;
|
2023-12-01 05:26:38 +01:00
|
|
|
|
|
|
|
scrollback_pager = "less --chop-long-lines --raw-control-chars +INPUT_LINE_NUMBER";
|
2023-06-16 13:23:35 +02:00
|
|
|
};
|
2023-07-02 18:07:16 +02:00
|
|
|
|
2024-04-05 19:28:23 +02:00
|
|
|
extraConfig = ''
|
2024-08-03 19:28:03 +02:00
|
|
|
tab_bar_background ${base00}
|
|
|
|
inactive_tab_background ${base00}
|
2023-07-02 18:07:16 +02:00
|
|
|
'';
|
2023-06-16 13:23:35 +02:00
|
|
|
};
|
2023-06-05 03:26:34 +02:00
|
|
|
|
2023-06-16 13:23:35 +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
|
|
|
|
'';
|
2023-05-16 23:09:05 +02:00
|
|
|
}
|