diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-11-24 08:14:24 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-11-24 08:14:24 -0500 |
commit | b387934988d98ca7842bf44bd94d5067e3f9f843 (patch) | |
tree | 09ea4967e6b2b7dbf1a05f0900e0d739f85aa579 /autolocker.sh | |
parent | d7411594c0ca071f08da108f544902f03e2e413d (diff) | |
download | scripts-b387934988d98ca7842bf44bd94d5067e3f9f843.tar.xz scripts-b387934988d98ca7842bf44bd94d5067e3f9f843.zip |
updated blocks and autolock
Diffstat (limited to 'autolocker.sh')
-rwxr-xr-x | autolocker.sh | 3 |
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" \ |