Browse Source

Update GameMode.sh

no need to kill waybar, swaync, cava on gamemode
pull/199/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
ef0e41fa17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      config/hypr/scripts/GameMode.sh

5
config/hypr/scripts/GameMode.sh

@ -18,11 +18,6 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
keyword decoration:rounding 0" keyword decoration:rounding 0"
swww kill swww kill
_ps=(waybar rofi swaync cava)
for _prs in "${_ps[@]}"; do
if pidof "${_prs}" >/dev/null; then
pkill "${_prs}"
fi
done done
notify-send -e -u low -i "$notif" "gamemode enabled. All animations off" notify-send -e -u low -i "$notif" "gamemode enabled. All animations off"
exit exit

Loading…
Cancel
Save