tweak(omarchy-theme-set): only restart waybar if already running (#2416)

This commit is contained in:
Celso Benedetti
2025-10-12 19:52:09 -04:00
committed by GitHub
parent a20835f835
commit 9f8db77a24
+3 -1
View File
@@ -24,7 +24,9 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"
omarchy-theme-bg-next
# Restart components to apply new theme
omarchy-restart-waybar
if pgrep -x waybar >/dev/null; then
omarchy-restart-waybar
fi
omarchy-restart-swayosd
hyprctl reload
pkill -SIGUSR2 btop