Add omarchy-theme-dir and use it to resolve theme paths
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
6aaa5b764e
commit
2996ee6327
@@ -14,11 +14,7 @@ fi
|
||||
|
||||
theme=$1
|
||||
|
||||
if [[ -d ~/.config/omarchy/themes/$theme ]]; then
|
||||
theme_dir=~/.config/omarchy/themes/$theme
|
||||
else
|
||||
theme_dir="$OMARCHY_PATH/themes/$theme"
|
||||
fi
|
||||
theme_dir=$(omarchy-theme-dir "$theme")
|
||||
|
||||
theme_color() {
|
||||
local key="$1"
|
||||
|
||||
Reference in New Issue
Block a user