mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Let the themes include backgrounds directly
This commit is contained in:
@ -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
|
||||
|
@ -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"
|
BIN
themes/rose-pine/backgrounds/background.jpg
Normal file
BIN
themes/rose-pine/backgrounds/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 KiB |
Reference in New Issue
Block a user