mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
Update Uncommon-tips-&-tricks.md
Fix the gamemode.sh script
This commit is contained in:
parent
1a4345c6e0
commit
75e0ba1cf8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue