summaryrefslogtreecommitdiff
path: root/autolocker.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-24 08:14:24 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-24 08:14:24 -0500
commitb387934988d98ca7842bf44bd94d5067e3f9f843 (patch)
tree09ea4967e6b2b7dbf1a05f0900e0d739f85aa579 /autolocker.sh
parentd7411594c0ca071f08da108f544902f03e2e413d (diff)
downloadscripts-b387934988d98ca7842bf44bd94d5067e3f9f843.tar.xz
scripts-b387934988d98ca7842bf44bd94d5067e3f9f843.zip
updated blocks and autolock
Diffstat (limited to 'autolocker.sh')
-rwxr-xr-xautolocker.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/autolocker.sh b/autolocker.sh
index f7b0b2a..692fbfb 100755
--- a/autolocker.sh
+++ b/autolocker.sh
@@ -8,9 +8,8 @@ if [ "$1" = "-d" ]; then
-notifier "notify-send -t=10000 '10 seconds to lock...'"
else
xautolock \
- -detectsleep \
-killtime 10 \
- -killer "doas acpiconf -s3" \
+ -killer "sleep 0.5; doas acpiconf -s3" \
-notify 10 \
-time 10 \
-locker "i3lock -n -f -c 000000 -i ~/.local/share/wallpapers/lock.png; sleep 0.2" \