diff options
| author | ryukamish <[email protected]> | 2026-03-22 16:05:36 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-03-22 16:05:36 +0530 |
| commit | a08d06326780d4f0c39a68acb0bf251b79fb61b3 (patch) | |
| tree | 97f93f7ebec05ba9c270de19f555f79776a02598 /niri/cfg/autostart.kdl | |
| parent | 047688ea39227489329d364d442afef274eb88e9 (diff) | |
fix: swaylock powering off monitor first then locks it
Diffstat (limited to 'niri/cfg/autostart.kdl')
| -rw-r--r-- | niri/cfg/autostart.kdl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl index 87c65db..98b9c13 100644 --- a/niri/cfg/autostart.kdl +++ b/niri/cfg/autostart.kdl @@ -1,8 +1,9 @@ // spawn-at-startup "qs" "-c" "noctalia-shell" "--no-duplicate" spawn-sh-at-startup "/usr/lib/polkit-kde-authentication-agent-1 &" // Polkit spawn-at-startup "swayidle" "-w" \ - "timeout" "300" "swaylock" \ - "timeout" "310" "'niri' 'msg' 'action' 'power-off-monitors'" \ + "timeout" "300" "'niri' 'msg' 'action' 'power-off-monitors'" \ + "timeout" "310" "swaylock" \ + "resume" "'niri' 'msg' 'action' 'power-on-monitors'" \ "before-sleep" "swaylock" spawn-at-startup "swww-daemon" |
