aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Refresh.sh
diff options
context:
space:
mode:
authorDon Williams <Don.e.williams@gmail.com>2025-11-21 22:28:45 -0500
committerDon Williams <Don.e.williams@gmail.com>2025-11-21 22:28:45 -0500
commita151dda103af298fb4af3ed381217e35b8cc97c9 (patch)
treeaac1998b2510bc1d88b9231d7efc0f9e83dc8e73 /config/hypr/scripts/Refresh.sh
parentf69b75530ff70492efd8ce8fd6b5fd5df488dd40 (diff)
Repeated gamemode cycling gets multiple waybars
You have to hammer on it, to get it to occr Added addtional sleep timer to allow pkill to keep up Resolves: https://github.com/JaKooLit/Hyprland-Dots/issues/870 On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGES-v2.3.18.md modified: config/hypr/scripts/GameMode.sh modified: config/hypr/scripts/Refresh.sh
Diffstat (limited to 'config/hypr/scripts/Refresh.sh')
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh
index 2e772aa9..1dd59752 100755
--- a/config/hypr/scripts/Refresh.sh
+++ b/config/hypr/scripts/Refresh.sh
@@ -24,6 +24,9 @@ done
# added since wallust sometimes not applying
killall -SIGUSR2 waybar
+# Added sleep for GameMode causing multiple waybar
+sleep 0.1
+
# quit ags & relaunch ags
#ags -q && ags &
@@ -34,6 +37,7 @@ killall -SIGUSR2 waybar
# some process to kill
for pid in $(pidof waybar rofi swaync ags swaybg); do
kill -SIGUSR1 "$pid"
+ sleep 0.3
done
#Restart waybar
@@ -52,4 +56,4 @@ if file_exists "${UserScripts}/RainbowBorders.sh"; then
${UserScripts}/RainbowBorders.sh &
fi
-exit 0 \ No newline at end of file
+exit 0
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage