Allow updating themes
This commit is contained in:
1 parent
b2ab061e3c
commit
d599a98a76
2 files changed
+12
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user