This commit is contained in:
John Mertz 2022-12-12 18:04:23 -05:00
parent 9ce71b5e85
commit fcffe18886
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
BLFILE="$HOME/.spool/idle.dim"
OPFILE="$HOME/.spool/active_outputs"
NOHIBERNATE="$HOME/.spool/hibernate_inhibitor
NOHIBERNATE="$HOME/.spool/hibernate_inhibitor"
FADE_TIMEOUT=60 # one minute
DIM_TIMEOUT=120 # two minutes
@ -75,7 +75,7 @@ elif [ $1 == "wake" ]; then
/home/jpm/scripts/sway/displays.pl
elif [ $1 == "hibernate" ]; then
if [ -e $NOHIBERNATE ]; then
;;
::
else
sudo systemctl start hibernate.target
fi