kitty: make cursor+selection white

This commit is contained in:
Sean Kovacs 2026-04-09 14:25:15 -04:00
commit 4e7e0d2aaf
Signed by: sckova
GPG key ID: 00F325187C68651A

View file

@ -3,11 +3,13 @@
pkgs,
...
}:
let
# Map Catppuccin colors to Kitty theme structure
kitty-colors = with config.scheme.withHashtag; ''
{
home.file.".config/kitty/themes" = {
source = pkgs.writeTextFile {
name = "kitty-colors";
text = with config.scheme.withHashtag; ''
# vim:ft=kitty
## name: Kova's Nixified Kitty
## name: NixOS Kitty Theme
## author: Catppuccin Org & sckova
## license: MIT
## upstream: https://github.com/catppuccin/kitty
@ -17,14 +19,14 @@ let
foreground ${base05}
background ${base00}
selection_foreground ${base00}
selection_background ${base06}
selection_background ${base05}
# Cursor colors
cursor ${base06}
cursor ${base05}
cursor_text_color ${base00}
# URL underline color when hovering with mouse
url_color ${base06}
url_color ${base05}
# Kitty window border colors
active_border_color ${config.scheme.withHashtag.${config.colors.accent}}
@ -79,16 +81,9 @@ let
color7 ${base04}
color15 ${base04}
'';
kitty-colors-file = pkgs.writeTextFile {
name = "kitty-colors";
text = kitty-colors;
destination = "/kitty-colors.conf";
};
in
{
home.file.".config/kitty/themes" = {
source = kitty-colors-file;
recursive = true;
};