nix/home/programs/kitty.nix

86 lines
2.6 KiB
Nix
Raw Normal View History

2022-04-06 15:20:16 +00:00
{
pkgs,
config,
...
}: let
inherit (config.colorscheme) colors;
in {
2022-02-07 01:21:35 +00:00
programs.kitty = {
enable = true;
2022-04-06 15:20:16 +00:00
font.name = "Fira Code Regular Nerd Font Complete";
2022-02-07 01:21:35 +00:00
font.size = 11;
settings = {
# Font settings
2022-04-06 15:20:16 +00:00
bold_font = "Fira Code Bold Nerd Font Complete";
italic_font = "Fira Code Light Nerd Font Complete";
2022-02-07 01:21:35 +00:00
bold_italic_font = "auto";
2022-03-16 10:38:33 +00:00
symbol_map = "U+276f 3270-Medium Nerd Font Complete";
2022-02-07 01:21:35 +00:00
# Cursor Settings
cursor_shape = "block";
# Scrollback settings
scrollback_lines = 10000;
wheel_scroll_multiplier = 3;
touch_scroll_multiplier = 2;
scrollback_pager = "${pkgs.page}";
# Mouse settings
mouse_hide_wait = "0.5";
open_url_with = "default";
strip_trailing_spaces = "smart";
focus_follows_mouse = true;
# Perf settings
repaint_delay = 16;
sync_to_monitor = true;
# Terminal Bell settings
enable_audio_bell = false;
# Window settings
hide_window_decorations = true;
# Tab Bar settings
tab_bar_edge = "bottom";
tab_bar_margin_width = 0;
tab_bar_margin_height = "0 0";
tab_bar_style = "powerline";
tab_bar_min_tabs = 2;
2022-04-06 15:20:16 +00:00
# Color Scheme
foreground = "#${colors.base07}";
background = "#${colors.base00}";
selection_foreground = "#${colors.base05}";
selection_background = "#${colors.base04}";
url_color = "#${colors.base04}";
color0 = "#${colors.base00}";
color1 = "#${colors.base01}";
color2 = "#${colors.base02}";
color3 = "#${colors.base03}";
color4 = "#${colors.base04}";
color5 = "#${colors.base05}";
color6 = "#${colors.base06}";
color7 = "#${colors.base07}";
color8 = "#${colors.base08}";
color9 = "#${colors.base09}";
color10 = "#${colors.base0A}";
color11 = "#${colors.base0B}";
color12 = "#${colors.base0C}";
color13 = "#${colors.base0D}";
color14 = "#${colors.base0E}";
color15 = "#${colors.base0F}";
cursor = "#${colors.base07}";
cursor_text_color = "#${colors.base00}";
active_tab_foreground = "#${colors.base07}";
active_tab_background = "#7aa2f7";
inactive_tab_foreground = "#${colors.base03}";
inactive_tab_background = "#${colors.base02}";
mark1_foreground = "#282a36";
mark1_background = "#ff5555";
2022-02-07 01:21:35 +00:00
# Advanced
shell = "fish";
editor = "${pkgs.neovim}";
allow_remote_control = "socket-only";
listen_on = "unix:/tmp/mykitty";
update_check_interval = 0;
allow_hyperlinks = true;
term = "xterm-kitty";
linux_display_server = "wayland";
};
};
}