mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Add migration to install new matte black theme
This commit is contained in:
12
migrations/1752249974.sh
Normal file
12
migrations/1752249974.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
echo "Add new matte black theme"
|
||||||
|
|
||||||
|
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