mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 22:15:59 +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
|
```bash
|
||||||
#!/usr/bin/env sh
|
#!/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
|
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||||
hyprctl --batch "\
|
hyprctl --batch "\
|
||||||
keyword animations:enabled 0;\
|
keyword animations:enabled 0;\
|
||||||
|
|
Loading…
Reference in a new issue