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
@@ -13,13 +13,7 @@ if cmp -s "$OMARCHY_PATH/default/plymouth/logo.png" "$installed_logo"; then
|
||||
fi
|
||||
|
||||
omarchy-plymouth-list | while read -r name; do
|
||||
if [[ -d ~/.config/omarchy/themes/$name ]]; then
|
||||
theme_dir=~/.config/omarchy/themes/$name
|
||||
else
|
||||
theme_dir="$OMARCHY_PATH/themes/$name"
|
||||
fi
|
||||
|
||||
if cmp -s "$theme_dir/unlock.png" "$installed_logo"; then
|
||||
if cmp -s "$(omarchy-theme-dir "$name")/unlock.png" "$installed_logo"; then
|
||||
echo "$name"
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user