mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Extract background installation and do it all upfront
This commit is contained in:
9
install/backgrounds.sh
Normal file
9
install/backgrounds.sh
Normal file
@ -0,0 +1,9 @@
|
||||
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"
|
||||
}
|
||||
|
||||
for t in ~/.local/share/omarchy/themes/*; do source "$t/backgrounds.sh"; done
|
Reference in New Issue
Block a user