diff options
| author | Don Williams <Don.e.williams@gmail.com> | 2025-11-21 22:28:45 -0500 |
|---|---|---|
| committer | Don Williams <Don.e.williams@gmail.com> | 2025-11-21 22:28:45 -0500 |
| commit | a151dda103af298fb4af3ed381217e35b8cc97c9 (patch) | |
| tree | aac1998b2510bc1d88b9231d7efc0f9e83dc8e73 /config/hypr/scripts/GameMode.sh | |
| parent | f69b75530ff70492efd8ce8fd6b5fd5df488dd40 (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/GameMode.sh')
| -rwxr-xr-x | config/hypr/scripts/GameMode.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index ec1e541e..59cf7372 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -20,6 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then hyprctl keyword "windowrule opacity 1 override 1 override 1 override, ^(.*)$" swww kill notify-send -e -u low -i "$notif" " Gamemode:" " enabled" + sleep 0.1 exit else swww-daemon --format xrgb && swww img "$HOME/.config/rofi/.current_wallpaper" & |
