From 25f4513feb50fd1458f07c5116e359bbc27ecbee Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Tue, 29 Jul 2025 10:42:18 -0400 Subject: [PATCH] Add theme update script (#391) --- bin/omarchy | 3 ++- bin/omarchy-theme-update | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 bin/omarchy-theme-update 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