Update Uncommon-tips-&-tricks.md
Fix the gamemode.sh script
This commit is contained in:
parent
1a4345c6e0
commit
75e0ba1cf8
|
@ -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;\
|
||||
|
|
Loading…
Reference in New Issue