71 lines
1.9 KiB
Nix
71 lines
1.9 KiB
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.custom.programs.kitty;
|
||
|
in
|
||
|
{
|
||
|
options.custom.programs.kitty.enable = mkOption { default = false; };
|
||
|
|
||
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
||
|
# https://sw.kovidgoyal.net/kitty/
|
||
|
# https://github.com/kovidgoyal/kitty
|
||
|
programs.kitty = {
|
||
|
enable = true;
|
||
|
|
||
|
font = {
|
||
|
name = "monospace";
|
||
|
size = 14;
|
||
|
};
|
||
|
|
||
|
# https://sw.kovidgoyal.net/kitty/conf/
|
||
|
#?? man kitty
|
||
|
settings = {
|
||
|
active_tab_font_style = "bold";
|
||
|
inactive_tab_font_style = "normal";
|
||
|
confirm_os_window_close = 0;
|
||
|
cursor_blink_interval = 0;
|
||
|
scrollback_lines = -1;
|
||
|
strip_trailing_spaces = "smart";
|
||
|
tab_bar_style = "powerline";
|
||
|
touch_scroll_multiplier = 3;
|
||
|
url_style = "straight";
|
||
|
wayland_enable_ime = "no";
|
||
|
window_padding_width = "0 5 5 5"; # top right bottom left
|
||
|
|
||
|
# Solarized Dark colors
|
||
|
# https://ethanschoonover.com/solarized/
|
||
|
#?? kitten themes
|
||
|
cursor = "none"; # Invert colors
|
||
|
background = "#002b36";
|
||
|
foreground = "#839496";
|
||
|
active_tab_background = "#93a1a1";
|
||
|
active_tab_foreground = "#002b36";
|
||
|
inactive_tab_background = "#586e75";
|
||
|
inactive_tab_foreground = "#002b36";
|
||
|
selection_background = "#073642"; # Affects scrollbar color
|
||
|
selection_foreground = "none";
|
||
|
url_color = "#586e75";
|
||
|
|
||
|
color0 = "#073642";
|
||
|
color1 = "#dc322f";
|
||
|
color2 = "#859900";
|
||
|
color3 = "#b58900";
|
||
|
color4 = "#268bd2";
|
||
|
color5 = "#d33682";
|
||
|
color6 = "#2aa198";
|
||
|
color7 = "#eee8d5";
|
||
|
color8 = "#002b36";
|
||
|
color9 = "#cb4b16";
|
||
|
color10 = "#586e75";
|
||
|
color11 = "#657b83";
|
||
|
color12 = "#839496";
|
||
|
color13 = "#6c71c4";
|
||
|
color14 = "#93a1a1";
|
||
|
color15 = "#fdf6e3";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|