aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarLayout.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-16 18:27:43 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commitfc268ed5e73b5087afb30f83a918d0d112e15898 (patch)
tree562153fa729396b874d63428f7ed83757d541c25 /config/hypr/scripts/WaybarLayout.sh
parent12c6f2952ed366ab43f3a7c3bd8fc59a18407b93 (diff)
Adj waybar to prevent dup starts w/waybar.service
Some distros have waybar as service. Startup checks for that Signed-off-by: Don Williams <don.e.williams@gmail.com> 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
Diffstat (limited to 'config/hypr/scripts/WaybarLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarLayout.sh2
1 files changed, 1 insertions, 1 deletions
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"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage