swaylock: Use USR1 signal to trigger timeout
This commit is contained in:
parent
959c6f9c31
commit
2f300bda11
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@
|
|||
swayidle -w \
|
||||
timeout 1 'swaylock -f -c 000000' \
|
||||
timeout 2 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"; pkill -nx swayidle'
|
||||
resume 'swaymsg "output * dpms on"; pkill -USR1 swayidle'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue