configuration/local/bin/lock.sh
2017-10-09 10:58:20 +02:00

9 lines
121 B
Bash
Executable File

#!/bin/sh
{
sleep 1
xset dpms force off
} &
killall -SIGUSR1 dunst # pause
slock
killall -SIGUSR2 dunst # resume