summaryrefslogtreecommitdiff
path: root/autolocker.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-12-20 16:32:59 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-12-20 16:32:59 -0500
commit45f61ff80062ec9137c0d77f3b732bc1a4f59179 (patch)
treeb0e3978e43ec918e196aece2f89efadc85eff328 /autolocker.sh
parent8a4cbf34f6e9509ed42b54dd15b9b506184274e7 (diff)
downloadscripts-45f61ff80062ec9137c0d77f3b732bc1a4f59179.tar.xz
scripts-45f61ff80062ec9137c0d77f3b732bc1a4f59179.zip
updated url handler, started merging with yt.sh; merged screen modes,
locker into dockd for automatic docking display swap
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