diff --git a/sway/idle.sh b/sway/idle.sh index 5a47373..77e8d80 100755 --- a/sway/idle.sh +++ b/sway/idle.sh @@ -1,7 +1,8 @@ #!/bin/bash -BLFILE="/home/jpm/.spool/idle.dim" -OPFILE="/home/jpm/.spool/active_outputs" +BLFILE="$HOME/.spool/idle.dim" +OPFILE="$HOME/.spool/active_outputs" +NOHIBERNATE="$HOME/.spool/hibernate_inhibitor FADE_TIMEOUT=60 # one minute DIM_TIMEOUT=120 # two minutes @@ -12,18 +13,18 @@ SUSPEND_TIMEOUT=3600 # one hour function usage() { echo "usage: $0