Jovan Lanik
Jovan Lanik
I really don't want to add more dependencies to gtklock. I currently maintain all gtklock modules and yes it's kinda annoying to distribute them. I don't know what the best...
The flash is probably due to the delay between the laptop resuming and gtklock staring. I can't really do anything about that. What I'm more worried about is the before-sleep...
Can you also try suspending while sway is still active (without changing to tty)? 1. run `$ sleep 5 && systemctl suspend' 2. then run gtklock If I do it...
While multiple output are connected?
Well I'm confused... I absolutely do not understand why `before-sleep` doesn't work with gtklock. I'll have to do try installing elogind and try it for myself... I also don't understand...
I think I pinned down the issue I had as the same as or related to #6, so when I fix that I'll try replicating your issue.
Do you by any chance use `bindswitch` in your sway config?
I fixed it in the latest commit but it requires some config: 1. If you use swayidle, lock using `before-sleep`: `$ swayidle -w before-sleep 'gtklock -d'. This way the window...
That's strange, I also use clamshell and my device sleeps regardless of sway settings. Maybe check `/etc/systemd/logind.conf`.
I use the defaults, so the entire file is commented out but I think these are the relevant values: ``` [Login] HandleLidSwitch=suspend HandleLidSwitchExternalPower=suspend HandleLidSwitchDocked=ignore LidSwitchIgnoreInhibited=yes [Sleep] AllowSuspend=yes AllowSuspendInterrupts=no BroadcastSuspendInterrupts=yes ```...