From 185e29228d70dba14ccf556c0b2cc47e7727197e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 19 Jun 2025 02:39:57 +0200 Subject: [PATCH] Fix naming --- bin/omarchy-theme-next | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-theme-next b/bin/omarchy-theme-next index 7c70518..b39deaa 100755 --- a/bin/omarchy-theme-next +++ b/bin/omarchy-theme-next @@ -26,11 +26,11 @@ done # Get next theme (wrap around) NEXT_INDEX=$(((INDEX + 1) % TOTAL)) NEW_THEME=${THEMES[$NEXT_INDEX]} +NEW_THEME_NAME=$(basename "$NEW_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 +ln -nsf ~/.config/omarchy/backgrounds/$NEW_THEME_NAME ~/.config/omarchy/current-backgrounds # Set new theme ln -nsf $NEW_THEME ~/.config/omarchy/current-theme