optimized some lower-powered hosts

This commit is contained in:
Emmet
2025-03-09 11:10:38 -05:00
parent 8a145e6580
commit 6136cc9f2a
5 changed files with 34 additions and 3 deletions

View File

@@ -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;\