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

This commit is contained in:
Celso Benedetti
2025-10-12 20:52:09 -03:00
committed by GitHub
parent a20835f835
commit 9f8db77a24

View File

@@ -24,7 +24,9 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"
omarchy-theme-bg-next
# Restart components to apply new theme
if pgrep -x waybar >/dev/null; then
omarchy-restart-waybar
fi
omarchy-restart-swayosd
hyprctl reload
pkill -SIGUSR2 btop