configuration/local/bin/lock.sh

9 lines
121 B
Bash
Executable File

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