{
pkgs,
theme,
...
}: {
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = 0;
# font_family = "GohuFont Nerd Font";
# font_size = "10.5";
font_family = theme.fontFamily;
font_size = "11";
adjust_line_height = 2;
};
extraConfig = ''
include ./paradise.conf
'';
};
xdg.configFile."kitty/paradise.conf".text = ''
foreground ${theme.primary.foreground}
background ${theme.primary.background}
url_color ${theme.bright.cyan}
# black
color0 ${theme.dark.black}
color8 ${theme.bright.black}
# red
color1 ${theme.dark.red}
color9 ${theme.bright.red}
# green
color2 ${theme.dark.green}
color10 ${theme.bright.green}
# yellow
color3 ${theme.dark.yellow}
color11 ${theme.bright.yellow}
# blue
color4 ${theme.dark.blue}
color12 ${theme.bright.blue}
# magenta
color5 ${theme.dark.magenta}
color13 ${theme.bright.magenta}
# cyan
color6 ${theme.dark.cyan}
color14 ${theme.bright.cyan}
# white
color7 ${theme.dark.white}
color15 ${theme.bright.white}
'';
}