mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Fix naming
This commit is contained in:
@ -26,11 +26,11 @@ done
|
|||||||
# Get next theme (wrap around)
|
# Get next theme (wrap around)
|
||||||
NEXT_INDEX=$(((INDEX + 1) % TOTAL))
|
NEXT_INDEX=$(((INDEX + 1) % TOTAL))
|
||||||
NEW_THEME=${THEMES[$NEXT_INDEX]}
|
NEW_THEME=${THEMES[$NEXT_INDEX]}
|
||||||
|
NEW_THEME_NAME=$(basename "$NEW_THEME")
|
||||||
|
|
||||||
# Install theme backgrounds
|
# Install theme backgrounds
|
||||||
source ~/.config/omarchy/current-theme/backgrounds.sh
|
source ~/.config/omarchy/current-theme/backgrounds.sh
|
||||||
THEME_NAME=$(basename "$NEW_THEME")
|
ln -nsf ~/.config/omarchy/backgrounds/$NEW_THEME_NAME ~/.config/omarchy/current-backgrounds
|
||||||
ln -nsf ~/.config/omarchy/backgrounds/$THEME_NAME ~/.config/omarchy/current-backgrounds
|
|
||||||
|
|
||||||
# Set new theme
|
# Set new theme
|
||||||
ln -nsf $NEW_THEME ~/.config/omarchy/current-theme
|
ln -nsf $NEW_THEME ~/.config/omarchy/current-theme
|
||||||
|
Reference in New Issue
Block a user