don't pause dunst when it's not running anyway

This commit is contained in:
Felix Van der Jeugt 2021-08-17 10:01:22 +02:00
parent f7e18bd198
commit fd73f301d2
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 6 additions and 8 deletions

6
local/bin/lock Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
{
sleep 1
xset dpms force off
} &
slock

View File

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