flakes/modules/user/kitty.nix

20 lines
650 B
Nix
Raw Permalink Normal View History

2021-07-05 15:05:01 +07:00
{ config, pkgs, ... }: {
programs.kitty = {
enable = true;
font = {
package = pkgs.cascadia-code;
name = "Cascadia Code PL";
size = 13;
};
settings = {
font_features = "-ss01 +ss19";
enable_audio_bell = false;
color5 = config.catppuccin.hexcolors.mauve;
color13 = config.catppuccin.hexcolors.mauve;
2025-03-19 15:32:29 +11:00
window_margin_width = 5;
2025-03-23 11:12:55 +11:00
scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - " -c "autocmd VimEnter * normal G"'';
scrollback_pager_history_size = 2;
2021-07-05 15:05:01 +07:00
};
};
}