From 4932b26e810400be7680a86b2a609791de89945c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 18 Jun 2025 22:16:05 +0200 Subject: [PATCH] Dont set new theme until background images are available --- bin/omarchy-theme-next | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/omarchy-theme-next b/bin/omarchy-theme-next index 68e2dad..7c70518 100755 --- a/bin/omarchy-theme-next +++ b/bin/omarchy-theme-next @@ -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