Fix downloading

This commit is contained in:
David Heinemeier Hansson
2025-06-19 08:25:55 -04:00
parent 72af673ffc
commit a361f5afc6
7 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@ BACKGROUNDS_DIR=~/.config/omarchy/backgrounds/
download_background_image() {
local url="$1"
local path="$2"
gum spin --title "Downloading background image..." -- curl -sL -o "$BACKGROUNDS_DIR/$path" "$url"
gum spin --title "Downloading $url as $path..." -- curl -sL -o "$BACKGROUNDS_DIR/$path" "$url"
}
for t in ~/.local/share/omarchy/themes/*; do source "$t/backgrounds.sh"; done