{ pkgs, ... }: let theme = import ../../theme.nix { inherit pkgs; }; in { programs.kitty = { enable = true; shellIntegration.enableZshIntegration = true; font = { name = theme.fontName; package = theme.fontPackage; size = theme.fontSize; }; settings = { bold_font = "auto"; italic_font = "auto"; bold_italic_font = "auto"; mouse_hide_wait = "2.0"; cursor_shape = "block"; url_style = "dotted"; confirm_os_window_close = "0"; background_opacity = "0.85"; # The basic colors foreground = theme.nord.snowStorm.nord6; background = theme.nord.polarNight.nord0; selection_foreground = theme.nord.polarNight.nord0; selection_background = theme.nord.aurora.nord15; # Cursor colors cursor = theme.nord.aurora.nord15; cursor_text_color = theme.nord.polarNight.nord0; # URL underline color when hovering with mouse url_color = theme.nord.aurora.nord15; # Kitty window border colors active_border_color = theme.nord.frost.nord10; inactive_border_color = theme.nord.polarNight.nord1; bell_border_color = theme.nord.aurora.nord13; # OS Window titlebar colors wayland_titlebar_color = theme.nord.polarNight.nord0; macos_titlebar_color = theme.nord.polarNight.nord0; # Tab bar colors active_tab_foreground = theme.nord.polarNight.nord3; active_tab_background = theme.nord.aurora.nord15; inactive_tab_foreground = theme.nord.snowStorm.nord6; inactive_tab_background = theme.nord.polarNight.nord1; tab_bar_background = theme.nord.polarNight.nord3; # Colors for marks (marked text in the terminal) mark1_foreground = theme.nord.polarNight.nord0; mark1_background = theme.nord.frost.nord10; mark2_foreground = theme.nord.polarNight.nord0; mark2_background = theme.nord.aurora.nord15; mark3_foreground = theme.nord.polarNight.nord0; mark3_background = theme.nord.frost.nord8; # The 16 terminal colors # black color0 = theme.nord.polarNight.nord0; # Autosuggestion color8 = theme.nord.frost.nord10; # red color1 = theme.nord.aurora.nord11; color9 = theme.nord.aurora.nord11; # green color2 = theme.nord.aurora.nord14; color10 = theme.nord.aurora.nord14; # yellow color3 = theme.nord.aurora.nord13; color11 = theme.nord.aurora.nord13; # blue color4 = theme.nord.frost.nord10; color12 = theme.nord.frost.nord10; # magenta color5 = theme.nord.aurora.nord15; color13 = theme.nord.aurora.nord15; # cyan color6 = theme.nord.frost.nord8; color14 = theme.nord.frost.nord8; # white color7 = theme.nord.snowStorm.nord5; color15 = theme.nord.snowStorm.nord4; }; }; }