2024-04-23 10:59:57 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2024-05-15 00:14:59 +02:00
|
|
|
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 = {
|
|
|
|
# font_size = "13.0";
|
|
|
|
mouse_hide_wait = -1;
|
|
|
|
url_style = "curly";
|
|
|
|
open_url_with = "default";
|
|
|
|
#background_opacity = "0.9";
|
|
|
|
confirm_os_window_close = "0";
|
|
|
|
#font_family = "JetBrainsMono Nerd Font";
|
|
|
|
/* 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-04-23 10:59:57 +02:00
|
|
|
};
|
2024-05-15 00:14:59 +02:00
|
|
|
|
|
|
|
};
|
2024-04-23 10:59:57 +02:00
|
|
|
};
|
2024-05-15 00:14:59 +02:00
|
|
|
};
|
2024-04-23 10:59:57 +02:00
|
|
|
|
2024-05-15 00:14:59 +02:00
|
|
|
}
|