summaryrefslogtreecommitdiff
path: root/autolocker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autolocker.sh')
-rwxr-xr-xautolocker.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/autolocker.sh b/autolocker.sh
deleted file mode 100755
index 692fbfb..0000000
--- a/autolocker.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-if [ "$1" = "-d" ]; then
- xautolock \
- -notify 10 \
- -time 10 \
- -locker "i3lock -n -f -c 000000 -i ~/.local/share/wallpapers/lock.png; sleep 0.2" \
- -notifier "notify-send -t=10000 '10 seconds to lock...'"
-else
- xautolock \
- -killtime 10 \
- -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" \
- -notifier "notify-send -t=10000 '10 seconds to lock...'"
-fi