aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/GameMode.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-04-24 15:20:42 +0900
committerGitHub <noreply@github.com>2024-04-24 15:20:42 +0900
commit6352d78fd42c021094842f63a3a08b31e9177955 (patch)
tree26bfe9901e36c204c2fe8434657c703780106b73 /config/hypr/scripts/GameMode.sh
parent8cd047fcde9dc62f80c2afde4dc9a9c8102f4775 (diff)
parente25a8a4f487ccb4f68682f4885262152ef955f39 (diff)
Merge branch 'development' into rofi
Diffstat (limited to 'config/hypr/scripts/GameMode.sh')
-rwxr-xr-xconfig/hypr/scripts/GameMode.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh
index f05676eb..74051403 100755
--- a/config/hypr/scripts/GameMode.sh
+++ b/config/hypr/scripts/GameMode.sh
@@ -1,12 +1,12 @@
#!/bin/bash
-## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
+# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Game Mode. Turning off all animations
notif="$HOME/.config/swaync/images/bell.png"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
-HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}')
+HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\
keyword animations:enabled 0;\
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage