Add theme update script (#391)

This commit is contained in:
Ryan Hughes
2025-07-29 10:42:18 -04:00
committed by GitHub
parent 4c46c2208a
commit 25f4513feb
2 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,7 @@ main_menu() {
update_menu() {
show_ascii_art
local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "SwayOSD" "Desktop apps" "Back")
local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "SwayOSD" "Desktop apps" "Themes" "Back")
local commands=(
"omarchy-update"
"omarchy-refresh-waybar"
@ -38,6 +38,7 @@ update_menu() {
"omarchy-refresh-plymouth"
"omarchy-refresh-swayosd"
"omarchy-refresh-applications"
"omarchy-theme-update"
"main_menu"
)
local choice

4
bin/omarchy-theme-update Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
for dir in ~/.config/omarchy/themes/*/; do
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
done