mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-28 12:49:25 +00:00
Extract background installation and do it all upfront
This commit is contained in:
@ -1,6 +1,2 @@
|
||||
BACKGROUNDS_DIR=~/.config/omarchy/backgrounds/kanagawa
|
||||
|
||||
if [[ ! -d $BACKGROUNDS_DIR ]]; then
|
||||
mkdir -p $BACKGROUNDS_DIR
|
||||
gum spin --title "Downloading background image..." -- curl -sL -o $BACKGROUNDS_DIR/1-kanagawa.jpg https://github.com/basecamp/omakub/raw/refs/heads/master/themes/kanagawa/background.jpg
|
||||
fi
|
||||
mkdir -p "$BACKGROUNDS_DIR/kanagawa"
|
||||
download_background_image "https://github.com/basecamp/omakub/raw/refs/heads/master/themes/kanagawa/background.jpg", "kanagawa/1-kanagawa.jpg"
|
||||
|
Reference in New Issue
Block a user