summaryrefslogtreecommitdiff
path: root/autolocker.sh
diff options
context:
space:
mode:
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" \