Just rely on the system theme for opencode and get ready for USRSIG2 being available to live reload

This commit is contained in:
David Heinemeier Hansson
2026-01-03 18:04:12 -08:00
parent edc964e458
commit a6b9bee8b9
3 changed files with 1 additions and 253 deletions

View File

@@ -49,6 +49,7 @@ omarchy-restart-swayosd
omarchy-restart-terminal
hyprctl reload
pkill -SIGUSR2 btop
# pkill -SIGUSR2 opencode
makoctl reload
# Change app-specific themes
@@ -58,7 +59,6 @@ omarchy-theme-set-vscode
omarchy-theme-set-vscodium
omarchy-theme-set-cursor
omarchy-theme-set-obsidian
omarchy-theme-set-opencode
# Call hook on theme set
omarchy-hook theme-set "$THEME_NAME"

View File

@@ -1,9 +0,0 @@
#!/bin/bash
OPENCODE_THEME="$HOME/.config/omarchy/current/theme/opencode.json"
OPENCODE_THEMES_DIR="$HOME/.config/opencode/themes"
if [[ -f "$OPENCODE_THEME" ]]; then
mkdir -p "$OPENCODE_THEMES_DIR"
cp "$OPENCODE_THEME" "$OPENCODE_THEMES_DIR/omarchy.json"
fi