diff --git a/pkgs/kitty/default.nix b/pkgs/kitty/default.nix index 999a2e2..518bc90 100755 --- a/pkgs/kitty/default.nix +++ b/pkgs/kitty/default.nix @@ -1,7 +1,8 @@ {terminal, ...}: { programs.kitty = { enable = true; - themeFile = "kanagawa"; + + # themeFile = "kanagawa"; settings = { confirm_os_window_close = 0; window_padding_width = 10; @@ -18,5 +19,6 @@ wayland_enable_ime = false; allow_remote_control = true; }; + extraConfig = "include colors.conf"; }; } diff --git a/pkgs/matugen/custom/config.toml b/pkgs/matugen/custom/config.toml index 30c3e1e..a675ee4 100644 --- a/pkgs/matugen/custom/config.toml +++ b/pkgs/matugen/custom/config.toml @@ -60,6 +60,6 @@ blue = { color = "#0000ff", blend = false } ### --- my config [templates.kitty] -input_path = '~/.config/nixos/pkgs/matugen/custom/templates/colors.conf' +input_path = '~/.config/nixos/pkgs/matugen/custom/templates/kitty.conf' output_path = '~/.config/kitty/colors.conf' post_hook = "kitty @ set-colors -a -c ~/.config/kitty/colors.conf" diff --git a/pkgs/matugen/custom/templates/kitty.conf b/pkgs/matugen/custom/templates/kitty.conf index e69de29..91b8e4b 100644 --- a/pkgs/matugen/custom/templates/kitty.conf +++ b/pkgs/matugen/custom/templates/kitty.conf @@ -0,0 +1,41 @@ +cursor {{colors.on_surface.default.hex}} +cursor_text_color {{colors.on_surface_variant.default.hex}} + +foreground {{colors.on_surface.default.hex}} +background {{colors.surface.default.hex}} +selection_foreground {{colors.on_secondary.default.hex}} +selection_background {{colors.secondary_fixed_dim.default.hex}} +url_color {{colors.primary.default.hex}} + +# black +color8 #262626 +color0 #4c4c4c + +# red +color1 #ac8a8c +color9 #c49ea0 + +# green +color2 #8aac8b +color10 #9ec49f + +# yellow +color3 #aca98a +color11 #c4c19e + +# blue +/* color4 #8f8aac */ +color4 {{colors.primary.default.hex}} +color12 #a39ec4 + +# magenta +color5 #ac8aac +color13 #c49ec4 + +# cyan +color6 #8aacab +color14 #9ec3c4 + +# white +color15 #e7e7e7 +color7 #f0f0f0