don't pause dunst when it's not running anyway
This commit is contained in:
parent
f7e18bd198
commit
fd73f301d2
6
local/bin/lock
Executable file
6
local/bin/lock
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
{
|
||||
sleep 1
|
||||
xset dpms force off
|
||||
} &
|
||||
slock
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
{
|
||||
sleep 1
|
||||
xset dpms force off
|
||||
} &
|
||||
killall -SIGUSR1 dunst # pause
|
||||
slock
|
||||
killall -SIGUSR2 dunst # resume
|
Loading…
Reference in New Issue
Block a user