darkman: kitty and claude support
This commit is contained in:
@@ -24,6 +24,17 @@
|
||||
# Update Hyprland cursor theme
|
||||
${pkgs.hyprland}/bin/hyprctl setcursor Nordzy-cursors 42
|
||||
'';
|
||||
kitty-theme = ''
|
||||
# Switch all Kitty instances to dark theme
|
||||
${pkgs.kitty}/bin/kitten themes --reload-in=all Catppuccin-Mocha
|
||||
'';
|
||||
claude-theme = ''
|
||||
# Switch Claude Code to dark theme
|
||||
CLAUDE_CONFIG=~/.claude.json
|
||||
if [ -f "$CLAUDE_CONFIG" ]; then
|
||||
${pkgs.jq}/bin/jq '.theme = "dark"' "$CLAUDE_CONFIG" > "$CLAUDE_CONFIG.tmp" && mv "$CLAUDE_CONFIG.tmp" "$CLAUDE_CONFIG"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
lightModeScripts = {
|
||||
gtk-theme = ''
|
||||
@@ -43,6 +54,17 @@
|
||||
# Update Hyprland cursor theme
|
||||
${pkgs.hyprland}/bin/hyprctl setcursor Nordzy-white 42
|
||||
'';
|
||||
kitty-theme = ''
|
||||
# Switch all Kitty instances to light theme
|
||||
${pkgs.kitty}/bin/kitten themes --reload-in=all Catppuccin-Latte
|
||||
'';
|
||||
claude-theme = ''
|
||||
# Switch Claude Code to light theme
|
||||
CLAUDE_CONFIG=~/.claude.json
|
||||
if [ -f "$CLAUDE_CONFIG" ]; then
|
||||
${pkgs.jq}/bin/jq '.theme = "light"' "$CLAUDE_CONFIG" > "$CLAUDE_CONFIG.tmp" && mv "$CLAUDE_CONFIG.tmp" "$CLAUDE_CONFIG"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -63,67 +63,10 @@
|
||||
"f7>/" = "goto_session";
|
||||
};
|
||||
|
||||
# https://github.com/kovidgoyal/kitty-themes
|
||||
# Default theme - Catppuccin-Mocha (dark)
|
||||
# This will be overridden by darkman scripts
|
||||
extraConfig = ''
|
||||
## name: GitHub Dark
|
||||
## author: GitHub
|
||||
## license: MIT
|
||||
|
||||
#: The basic colors
|
||||
|
||||
foreground #c9d1d9
|
||||
background #0d1117
|
||||
selection_foreground #0d1117
|
||||
selection_background #58a6ff
|
||||
|
||||
|
||||
#: Cursor colors
|
||||
|
||||
cursor #58a6ff
|
||||
|
||||
|
||||
#: Tab bar colors
|
||||
|
||||
tab_bar_background #010409
|
||||
active_tab_foreground #c9d1d9
|
||||
active_tab_background #0d1117
|
||||
inactive_tab_foreground #8b949e
|
||||
inactive_tab_background #010409
|
||||
|
||||
|
||||
#: The basic 16 colors
|
||||
|
||||
#: black
|
||||
color0 #484f58
|
||||
color8 #6e7681
|
||||
|
||||
#: red
|
||||
color1 #ff7b72
|
||||
color9 #ffa198
|
||||
|
||||
#: green
|
||||
color2 #3fb950
|
||||
color10 #56d364
|
||||
|
||||
#: yellow
|
||||
color3 #d29922
|
||||
color11 #e3b341
|
||||
|
||||
#: blue
|
||||
color4 #58a6ff
|
||||
color12 #79c0ff
|
||||
|
||||
#: magenta
|
||||
color5 #bc8cff
|
||||
color13 #d2a8ff
|
||||
|
||||
#: cyan
|
||||
color6 #39c5cf
|
||||
color14 #56d4dd
|
||||
|
||||
#: white
|
||||
color7 #b1bac4
|
||||
color15 #ffffff
|
||||
include current-theme.conf
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user