swaywm/swayidle

Suspend before-sleep is triggered only once.

sfs-pra opened this issue · 1 comments

# swayidle before-sleep swaylock &
# systemctl suspend
[1]+  Done                    swayidle before-sleep swaylock
# pidof swayidle

swaylock only works once.
swayidle ends its work

swayidle -w before-sleep 'swaylock -f' - norm !