mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Move the matte black theme migration forward
It was missed by several people by being older than where they were. Closes #187
This commit is contained in:
13
migrations/1752643269.sh
Normal file
13
migrations/1752643269.sh
Normal file
@ -0,0 +1,13 @@
|
||||
echo "Add new matte black theme"
|
||||
|
||||
BACKGROUNDS_DIR=~/.config/omarchy/backgrounds/
|
||||
download_background_image() {
|
||||
local url="$1"
|
||||
local path="$2"
|
||||
gum spin --title "Downloading $url as $path..." -- curl -sL -o "$BACKGROUNDS_DIR/$path" "$url"
|
||||
}
|
||||
|
||||
if [[ ! -L "~/.config/omarchy/themes/matte-black" ]]; then
|
||||
ln -snf ~/.local/share/omarchy/themes/matte-black ~/.config/omarchy/themes/
|
||||
source ~/.local/share/omarchy/themes/matte-black/backgrounds.sh
|
||||
fi
|
Reference in New Issue
Block a user