mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Set opencode colors too
This commit is contained in:
@@ -49,6 +49,7 @@ omarchy-theme-set-browser
|
||||
omarchy-theme-set-vscode
|
||||
omarchy-theme-set-cursor
|
||||
omarchy-theme-set-obsidian
|
||||
omarchy-theme-set-opencode
|
||||
|
||||
# Call hook on theme set
|
||||
omarchy-hook theme-set "$THEME_NAME"
|
||||
|
||||
9
bin/omarchy-theme-set-opencode
Executable file
9
bin/omarchy-theme-set-opencode
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user