Closed frere-jacques closed 1 year ago
I managed to configure waylogout to my liking. Only problem is if I go to eg suspend I don't see a wayto get swaylock beforehand. In my sway config it is working with swayidle by adding before-sleep like thist:
exec swayidle -w \ timeout 300 'swaylock' \ timeout 600 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ timeout 900 'systemctl suspend' \ before-sleep 'swaylock'
But I didn't found anything like that for waylogout.
Actually it worked now ootb by just executing systemctl suspend on hybernate.
I managed to configure waylogout to my liking. Only problem is if I go to eg suspend I don't see a wayto get swaylock beforehand. In my sway config it is working with swayidle by adding before-sleep like thist:
But I didn't found anything like that for waylogout.