dotfiles/modules/desktop/apps/kitty.nix

75 lines
1.5 KiB
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
2021-11-11 18:34:54 +01:00
{
home-manager.users.moritz = {
2021-09-09 21:55:28 +02:00
programs.kitty = {
enable = true;
settings = {
scrollback_lines = 10000;
enable_audio_bell = false;
cursor_shape = "underline";
2021-09-11 13:53:57 +02:00
window_padding_width = 3;
2021-09-09 21:55:28 +02:00
};
2021-12-26 23:35:31 +01:00
keybindings = {
"ctrl+plus" = "change_font_size all +2.0";
"ctrl+minus" = "change_font_size all -2.0";
};
2021-09-09 21:55:28 +02:00
extraConfig = ''
2021-09-15 00:41:46 +02:00
foreground #f8f8f2
background #282a36
#background #000000
selection_foreground #44475a
selection_background #f8f8f2
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
url_color #ffb86c
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# black
color0 #21222c
color8 #6272a4
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# red
color1 #ff5555
color9 #ff6e6e
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# green
color2 #50fa7b
color10 #69ff94
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# yellow
color3 #f1fa8c
color11 #ffffa5
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# blue
color4 #bd93f9
color12 #d6acff
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# magenta
color5 #ff79c6
color13 #ff92df
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# cyan
color6 #8be9fd
color14 #a4ffff
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# white
color7 #f8f8f2
color15 #ffffff
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# Cursor colors
cursor #6272a4
cursor_text_color background
2021-09-09 21:55:28 +02:00
2021-09-15 00:41:46 +02:00
# Tab bar colors
active_tab_foreground #44475a
active_tab_background #f8f8f2
inactive_tab_foreground #282a36
inactive_tab_background #6272a4
'';
2021-09-09 21:55:28 +02:00
font = {
name = "FiraCode Nerd Font";
size = 10;
};
};
};
2021-11-11 18:34:54 +01:00
}