Extract background installation and do it all upfront

This commit is contained in:
David Heinemeier Hansson committed 2025-06-19 08:10:23 -04:00
1 parent ac1ac3011f
commit f45bdf5e46
7 files changed
+23 -38

No files matched your search

+9
View 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