mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Dont set new theme until background images are available
This commit is contained in:
@ -27,14 +27,14 @@ done
|
||||
NEXT_INDEX=$(((INDEX + 1) % TOTAL))
|
||||
NEW_THEME=${THEMES[$NEXT_INDEX]}
|
||||
|
||||
# Set new theme
|
||||
ln -nsf $NEW_THEME ~/.config/omarchy/current-theme
|
||||
|
||||
# Install theme backgrounds
|
||||
source ~/.config/omarchy/current-theme/backgrounds.sh
|
||||
THEME_NAME=$(basename "$NEW_THEME")
|
||||
ln -nsf ~/.config/omarchy/backgrounds/$THEME_NAME ~/.config/omarchy/current-backgrounds
|
||||
|
||||
# Set new theme
|
||||
ln -nsf $NEW_THEME ~/.config/omarchy/current-theme
|
||||
|
||||
# Touch alacritty config to pickup the changed theme
|
||||
touch ~/.config/alacritty/alacritty.toml
|
||||
|
||||
|
Reference in New Issue
Block a user