Override kitty stylix theme

This commit is contained in:
2025-12-01 01:39:13 +01:00
parent d5c0c6836f
commit 73658e1563

View File

@@ -1,4 +1,5 @@
# Kitty is a fast, featureful, GPU based terminal emulator # Kitty is a fast, featureful, GPU based terminal emulator
{ config, lib, ... }:
{ {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
@@ -20,5 +21,52 @@
allow_remote_control = "yes"; allow_remote_control = "yes";
listen_on = "unix:/tmp/mykitty"; listen_on = "unix:/tmp/mykitty";
}; };
# Override stylix generated colorscheme by officially provided kitty colorscheme
extraConfig = lib.mkAfter ''
## name: Kanagawa
## license: MIT
## author: Tommaso Laurenzi
## upstream: https://github.com/rebelot/kanagawa.nvim/
background #1F1F28
foreground #DCD7BA
selection_background #2D4F67
selection_foreground #C8C093
url_color #72A7BC
cursor #C8C093
# Tabs
active_tab_background #1F1F28
active_tab_foreground #C8C093
inactive_tab_background #1F1F28
inactive_tab_foreground #727169
#tab_bar_background #15161E
# normal
color0 #16161D
color1 #C34043
color2 #76946A
color3 #C0A36E
color4 #7E9CD8
color5 #957FB8
color6 #6A9589
color7 #C8C093
# bright
color8 #727169
color9 #E82424
color10 #98BB6C
color11 #E6C384
color12 #7FB4CA
color13 #938AA9
color14 #7AA89F
color15 #DCD7BA
# extended colors
color16 #FFA066
color17 #FF5D62
'';
}; };
} }