Allow updating themes

This commit is contained in:
David Heinemeier Hansson
2025-08-04 19:50:03 +02:00
parent b2ab061e3c
commit d599a98a76
2 changed files with 12 additions and 3 deletions

View File

@@ -1,4 +1,12 @@
#!/bin/bash
# Show logo
clear
cat <~/.local/share/omarchy/logo.txt
for dir in ~/.config/omarchy/themes/*/; do
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
done
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
done
gum spin --spinner "globe" --title "Done!" -- sleep 2