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/ToggleWaybarTime.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr/scripts/ToggleWaybarTime.sh') diff --git a/config/hypr/scripts/ToggleWaybarTime.sh b/config/hypr/scripts/ToggleWaybarTime.sh index ac58ec20..09ae9433 100755 --- a/config/hypr/scripts/ToggleWaybarTime.sh +++ b/config/hypr/scripts/ToggleWaybarTime.sh @@ -149,8 +149,8 @@ restart_waybar() { systemctl --user stop waybar.service >/dev/null 2>&1 || true fi - pkill -x waybar >/dev/null 2>&1 || true - pkill -x '.waybar-wrapped' >/dev/null 2>&1 || true + pkill -INT -x waybar >/dev/null 2>&1 || true + pkill -INT -x '.waybar-wrapped' >/dev/null 2>&1 || true sleep 0.2 if pgrep -x waybar >/dev/null 2>&1 || pgrep -x '.waybar-wrapped' >/dev/null 2>&1; then pkill -9 -x waybar >/dev/null 2>&1 || true -- cgit v1.2.3