Post #1997558
2026-05-03 21:35 UTC
Depends a bit on your setup. If you’re using systemd you can use the logind.conf as already mentioned, or if you’re on a non-systemd distro you can use the forked elogind, which works pretty much the same way. For locking your session when suspending, since i use wayland, i use swayidle for that. In its config i just put before-sleep ‘swaylock’, which will execute swaylock before the system goes to sleep.
Replies (0)
No replies.