Browse Source

Update GameMode.sh

pull/197/head
Sipping 2 years ago committed by GitHub
parent
commit
4c29f9e78d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      config/hypr/scripts/GameMode.sh

7
config/hypr/scripts/GameMode.sh

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

Loading…
Cancel
Save