configuration/local/bin/lock.sh

9 lines
121 B
Bash
Raw Normal View History

#!/bin/sh
{
sleep 1
xset dpms force off
} &
2017-10-09 10:58:20 +02:00
killall -SIGUSR1 dunst # pause
slock
2017-10-09 10:58:20 +02:00
killall -SIGUSR2 dunst # resume