nichts/modules/gui/kitty.nix

80 lines
2.4 KiB
Nix
Raw Normal View History

2024-04-23 10:59:57 +02:00
{ config, lib, pkgs, ... }:
with lib; let
cfg = config.modules.programs.kitty;
username = config.modules.other.system.username;
in {
options.modules.programs.kitty.enable = mkEnableOption "kitty";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.kitty = {
enable = true;
settings = {
2024-05-04 15:00:14 +02:00
# font_size = "13.0";
2024-04-23 10:59:57 +02:00
mouse_hide_wait = -1;
url_style = "curly";
open_url_with = "default";
2024-05-04 15:00:14 +02:00
#background_opacity = "0.9";
2024-04-23 10:59:57 +02:00
confirm_os_window_close = "0";
2024-05-04 15:00:14 +02:00
#font_family = "JetBrainsMono Nerd Font";
2024-05-06 23:17:31 +02:00
/*
2024-04-23 10:59:57 +02:00
cursor_text_color = "background";
url_color = "#83a598";
visual_bell_color = "#8ec07c";
bell_border_color = "#8ec07c";
active_border_color = "#d3869b";
inactive_border_color = "#665c54";
foreground = "#ebdbb2";
background = "#282828";
selection_foreground = "#928374";
selection_background = "#ebdbb2";
active_tab_foreground = "#fbf1c7";
active_tab_background = "#665c54";
inactive_tab_foreground = "#a89984";
inactive_tab_background = "#3c3836";
# black (bg3/bg4)
color0 = "#665c54";
color8 = "#7c6f64";
# red
color1 = "#cc241d";
color9 = "#fb4934";
#: green
color2 = "#98971a";
color10 = "#b8bb26";
# yellow
color3 = "#d79921";
color11 = "#fabd2f";
# blue
color4 = "#458588";
color12 = "#83a598";
# purple
color5 = "#b16286";
color13 = "#d3869b";
# aqua
color6 = "#689d6a";
color14 = "#8ec07c";
# white (fg4/fg3)
color7 = "#a89984";
color15 = "#bdae93";
2024-05-06 23:17:31 +02:00
*/
2024-04-23 10:59:57 +02:00
};
};
};
};
}