mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 01:54:02 +05:30
optimized some lower-powered hosts
This commit is contained in:
parent
8a145e6580
commit
6136cc9f2a
5 changed files with 34 additions and 3 deletions
|
@ -393,7 +393,7 @@ in
|
|||
'')
|
||||
(pkgs.writeScriptBin "hyprgamemode" ''
|
||||
#!/bin/sh
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
||||
HYPRGAMEMODE=$(hyprctl getoption decoration:blur:enabled | awk 'NR==1{print $2}')
|
||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue