Files
skel/bin/i3lock.sh
2019-07-30 13:53:12 -07:00

11 lines
286 B
Bash
Executable File

#!/bin/sh
LOCKER="i3lock -c 000000"
# intentionally want word splitting below
/usr/bin/xss-lock -- ${LOCKER} &
exec /usr/bin/xautolock \
-time 5 \
-detectsleep \
-locker "${LOCKER}" \
-notify 30 \
-notifier "notify-send -u critical -t 10000 -- 'LOCKING SCREEN IN 30 SECONDS'"