1
0
Fork 0
dotfiles/home/programs/kitty.nix

67 lines
2 KiB
Nix
Raw Permalink Normal View History

2022-02-08 09:10:13 +00:00
{ pkgs, ... }:
2022-02-03 22:35:52 +00:00
{
programs.kitty = {
enable = true;
settings = {
# Shell
2022-04-06 20:10:39 +00:00
shell = "${pkgs.fish.outPath}/bin/fish --interactive";
2022-06-08 19:57:22 +00:00
shell_integration = "enabled";
2022-02-03 22:35:52 +00:00
# Theme/Layout
2022-05-11 22:01:58 +00:00
window_border_width = "1.0";
window_margin_width = "0.0";
window_padding_width = "1 3 1 3";
2022-02-03 22:35:52 +00:00
macos_titlebar_color = "background";
macos_traditional_fullscreen = true;
macos_show_window_title_in = "window";
2022-05-11 22:01:58 +00:00
enabled_layouts = "tall:bias=55;tall:bias=50;full_size=1;stack;fat;grid;horizontal;split;mirrored=false;";
# Tabs
2022-06-07 17:50:18 +00:00
tab_bar_style = "separator";
tab_separator = "\" \"";
2022-05-11 22:01:58 +00:00
tab_fade = "0 0 0 0";
2022-06-07 17:50:18 +00:00
tab_activity_symbol = "\" \"";
2022-06-08 19:57:22 +00:00
bell_on_tab = "\" \"";
2022-05-11 22:01:58 +00:00
tab_bar_edge = "bottom";
2022-06-07 17:50:18 +00:00
tab_bar_background = "#282A36";
2022-05-11 22:01:58 +00:00
tab_bar_margin_height = "0.0 0.0";
2022-06-07 17:50:18 +00:00
inactive_tab_foreground = "#F8F8F2";
inactive_tab_background = "#282A36";
2022-05-11 22:01:58 +00:00
inactive_tab_font_style = "normal";
2022-06-07 17:50:18 +00:00
active_tab_foreground = "#F8F8F2";
active_tab_background = "#282A36";
active_tab_font_style = "normal";
2022-05-11 22:01:58 +00:00
tab_bar_min_tabs = 2;
2022-06-08 19:57:22 +00:00
tab_title_template = "\"{fmt.bold} {fmt.nobold}{index}: {title[:30]}{fmt.fg._FFB86C}{bell_symbol}{fmt.fg._FF5555}{activity_symbol}\"";
active_tab_title_template = "\"{fmt.bold} {fmt.nobold}{index}: {fmt.italic}{title[:30]}{fmt.noitalic}{fmt.fg._FFB86C}{bell_symbol}{fmt.fg._FF5555}{activity_symbol}\"";
2022-02-03 22:35:52 +00:00
# UX
kitty_mod = "cmd";
2022-06-08 19:57:22 +00:00
cursor_blink_interval = -1;
cursor_stop_blinking_after = "15.0";
cursor_beam_thickness = "1.5";
2022-02-15 09:37:12 +00:00
disable_ligatures = "cursor";
2022-02-03 22:35:52 +00:00
enable_audio_bell = false;
visual_bell_duration = 0;
# Mouse
detect_urls = false;
2022-06-08 19:57:22 +00:00
allow_hyperlinks = "ask";
2022-02-03 22:35:52 +00:00
# Scrollback
scrollback_pager_history_size = 2;
};
2022-03-22 15:59:41 +00:00
theme = "Dracula";
2022-02-03 22:35:52 +00:00
font = {
name = "JetBrainsMono Nerd Font";
size = 13;
};
};
home.sessionVariables.TERMINFO_DIRS = "${pkgs.kitty.terminfo.outPath}/share/terminfo";
2022-02-03 22:35:52 +00:00
}