From 75e0ba1cf80832a90b5c2cdc11e425eba0c06a4f Mon Sep 17 00:00:00 2001 From: Yassine IBRAHIMI <75940849+yassineibr@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:55:43 +0100 Subject: [PATCH] Update Uncommon-tips-&-tricks.md Fix the gamemode.sh script --- pages/Configuring/Uncommon-tips-&-tricks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index 26e8489..4234fb6 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -130,7 +130,7 @@ For increased performance in games, or for less distractions at a keypress ```bash #!/usr/bin/env sh -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;\