Closed Guanran928 closed 7 months ago
swayidle
currently only turns off screen.
loginctl lock-session
and systemctl suspend
does not do anything.
After replacing "swayidle";
with lib.getExe pkgs.swaylock-effects;
swayidle currently only locks the screen now.
(no turning off screen, no suspend)
Also, I see my screen blinks after unlocking my screen. (locked after timeout, might be sway turned off screen incorrectly?)
loginctl lock-session
and systemctl suspend
now locks my screen (before suspending).
Hmm, seems like turning off screen and suspending is indeed happened after unlocking.
I also tried with using pkgs.swaylock
instead of pkgs.swaylock-effects
, no luck.
Turn out I did not enable daemonize
in swaylock.
swayidle.nix