kitty configuration

This commit is contained in:
cnst
2024-06-30 16:53:01 +02:00
parent 840b47e7a0
commit a8ab6cd3e7
4 changed files with 48 additions and 99 deletions

View File

@@ -1,7 +1,42 @@
{
programs.kitty = {
enable = true;
theme = "GruvboxMaterialDarkMedium";
font = "JetBrainsMono Nerd Font 11";
theme = "Gruvbox Material Dark Medium";
settings = {
enable_audio_bell = false;
open_url_with = "firefox-nightly";
font_family = "Rec Mono Linear";
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
font_size = "11.0";
cursor_blink_interval = 0;
cursor_beam_thickness = 3;
copy_on_select = true;
background_opacity = "0.95";
background_blur = "32";
window_padding_width = 3;
tab_bar_min_tabs = 1;
tab_bar_edge = "top";
tab_bar_style = "separator";
tab_bar_margin_width = "0.0";
tab_bar_margin_height = "0.0 0.0";
active_tab_font_style = "bold";
tab_title_max_length = 30;
# colors
active_tab_foreground = "#32302f";
active_tab_background = "#8bba7f";
inactive_tab_foreground = "#665C54";
inactive_tab_background = "#6f8352";
tab_bar_background = "#32302f";
};
extraConfig = ''
kitty_mod ctrl
map kitty_mod+q close_tab
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
tab_separator " | "
tab_title_template "{fmt.fg.tab}{title[:30]}"
'';
};
}

View File

@@ -1,86 +0,0 @@
{
home.shellAliases = {
zj = "zellij";
};
programs.zellij = {
enable = true;
enableZshIntegration = true;
settings = {
# Make zellij UI more compact
ui = {
pane_frames = {
hide_session_name = true;
};
};
default_layout = "compact";
copy_command = "wl-copy";
on_force_close = "detach";
default_shell = "zsh";
default_mode = "normal";
theme = "gruvbox-dark";
themes = {
gruvbox-dark = {
fg = [
213
196
161
];
bg = [
40
40
40
];
black = [
60
56
54
];
red = [
204
36
29
];
green = [
152
151
26
];
yellow = [
215
153
33
];
blue = [
69
133
136
];
magenta = [
177
98
134
];
cyan = [
104
157
106
];
white = [
251
241
199
];
orange = [
214
93
14
];
};
};
};
};
}