From e8b47de2a93d1153b02558398fbd81aad407e667 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 11 Jul 2025 09:10:59 -0700 Subject: [PATCH] Add migration to install new matte black theme --- migrations/1752249974.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 migrations/1752249974.sh diff --git a/migrations/1752249974.sh b/migrations/1752249974.sh new file mode 100644 index 0000000..ace2e0d --- /dev/null +++ b/migrations/1752249974.sh @@ -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