diff --git a/migrations/1752249974.sh b/migrations/1752249974.sh index ace2e0d..30dad9e 100644 --- a/migrations/1752249974.sh +++ b/migrations/1752249974.sh @@ -1,5 +1,6 @@ echo "Add new matte black theme" +BACKGROUNDS_DIR=~/.config/omarchy/backgrounds/ download_background_image() { local url="$1" local path="$2" diff --git a/themes/matte-black/backgrounds.sh b/themes/matte-black/backgrounds.sh index 1e24ed9..4c0c8d8 100644 --- a/themes/matte-black/backgrounds.sh +++ b/themes/matte-black/backgrounds.sh @@ -1,2 +1,2 @@ -mkdir -p "~/.config/omarchy/backgrounds/matte-black" +mkdir -p "$BACKGROUNDS_DIR/matte-black" download_background_image "https://raw.githubusercontent.com/tahayvr/omarchy-matte-black/refs/heads/main/images/1-matte-black.jpg" "matte-black/1-matte-black.jpg"