diff --git a/bin/omarchy b/bin/omarchy index e788794..a868a4d 100755 --- a/bin/omarchy +++ b/bin/omarchy @@ -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 diff --git a/bin/omarchy-theme-update b/bin/omarchy-theme-update new file mode 100755 index 0000000..c5e08c1 --- /dev/null +++ b/bin/omarchy-theme-update @@ -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 \ No newline at end of file