From fc268ed5e73b5087afb30f83a918d0d112e15898 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sun, 16 Aug 2026 18:27:43 -0400 Subject: Adj waybar to prevent dup starts w/waybar.service Some distros have waybar as service. Startup checks for that Signed-off-by: Don Williams On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/scripts/Refresh.sh modified: config/hypr/scripts/ToggleWaybarTime.sh modified: config/hypr/scripts/WaybarLayout.sh --- config/hypr/scripts/WaybarLayout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/scripts/WaybarLayout.sh') diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh index 97119d9a..4d70a988 100755 --- a/config/hypr/scripts/WaybarLayout.sh +++ b/config/hypr/scripts/WaybarLayout.sh @@ -60,7 +60,7 @@ main() { case "$choice" in "no panel") - pgrep -x "waybar" && pkill waybar || true + pgrep -x "waybar" && { pkill -INT -x waybar || true; sleep 0.2; pkill -9 -x waybar || true; systemctl --user stop waybar.service >/dev/null 2>&1 || true; } ;; *) apply_config "$choice" -- cgit v1.2.3