diff --git a/bin/omarchy-theme-set b/bin/omarchy-theme-set index 73d61b9..818479b 100755 --- a/bin/omarchy-theme-set +++ b/bin/omarchy-theme-set @@ -13,7 +13,12 @@ CURRENT_THEME_DIR="$HOME/.config/omarchy/current/theme" THEME_NAME="$1" THEME_PATH="$THEMES_DIR/$THEME_NAME" -BACKGROUND_PATH="$HOME/.config/omarchy/backgrounds/$THEME_NAME" + +if [[ -d "$HOME/.config/omarchy/themes/$THEME_NAME/backgrounds" ]]; then + BACKGROUND_PATH="$HOME/.config/omarchy/themes/$THEME_NAME/backgrounds" +else + BACKGROUND_PATH="$HOME/.config/omarchy/backgrounds/$THEME_NAME" +fi # Check if the theme entered exists if [[ ! -d "$THEME_PATH" ]]; then diff --git a/themes/rose-pine/backgrounds.sh b/themes/rose-pine/backgrounds.sh deleted file mode 100644 index 059599b..0000000 --- a/themes/rose-pine/backgrounds.sh +++ /dev/null @@ -1,2 +0,0 @@ -mkdir -p "$BACKGROUNDS_DIR/rose-pine" -download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/nord/background.png" "rose-pine/1-nord.png" diff --git a/themes/rose-pine/backgrounds/background.jpg b/themes/rose-pine/backgrounds/background.jpg new file mode 100644 index 0000000..adfe242 Binary files /dev/null and b/themes/rose-pine/backgrounds/background.jpg differ