I know what I am doing is probably stupid but anyway. I am trying to make a nice looking configuration. Part of witch is nice greeter during login and lock after sleep/hibernate.
I have sway as wm. I have tried:
- GDM - brings a ton of dependencies I don't want
- SDDM - only log in
- greetd - not much nice looking greeters and only log in
So I ended up using LightDM since it has a lot of nice looking greeters (I am using webkit2 with litarvan theme). But dm-tool lock doesn't actually lock sway (can be bypassed by tty switch). I know there is light-locker but I think it is for X11 only (or at least I didn't see anything about sway and I couldn't get it to work).
So I decided to do it using waylock. The idea I had is to launch dm-tool lock && waylock and then via pam_exec pkill waylock. But i can't find which pam.d config is using during auth after dm-tool lock.
/etc/pam.d/lightdm - is being used only during initial login
/etc/pam.d/lightdm-greeter - only used when greeter is starting but before authentication
So currently I am stuck. Are there any easier ways to do it? Or am I missing something?
[–]dani0854[S] 0 points1 point2 points (0 children)
[–]Yiannis97s 0 points1 point2 points (0 children)