update to .dot-files-laptop
This commit is contained in:
parent
ba1a306817
commit
24b6464d0b
46 changed files with 3332 additions and 0 deletions
9
.dot-files-laptop/.bin/sh/batterymode.sh
Executable file
9
.dot-files-laptop/.bin/sh/batterymode.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env sh
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}')
|
||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword decoration:drop_shadow 0;\
|
||||
keyword decoration:blur:enabled 0"
|
||||
exit
|
||||
fi
|
||||
hyprctl reload
|
Loading…
Add table
Add a link
Reference in a new issue