diff options
| author | ryukamish <[email protected]> | 2026-03-03 18:01:00 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-03-03 18:01:00 +0530 |
| commit | 0085f9ba74bcefa2516c0de4463ab214557c46d7 (patch) | |
| tree | cf462e6cdf1278e8cb9ea76b22f5f5cb4059823b /niri/cfg/autostart.kdl | |
| parent | 6e7314a5ad1e08cc1571bf8e63728f10e63f6850 (diff) | |
some fixes here and there
Diffstat (limited to 'niri/cfg/autostart.kdl')
| -rw-r--r-- | niri/cfg/autostart.kdl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl index cbf795b..3554731 100644 --- a/niri/cfg/autostart.kdl +++ b/niri/cfg/autostart.kdl @@ -1,2 +1,6 @@ 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" "'qs' '-c' 'noctalia-shell' 'ipc' 'call' 'lockScreen' 'lock'" \ + "timeout" "305" "'niri' 'msg' 'action' 'power-off-monitors'" \ + "before-sleep" "'qs' '-c' 'noctalia-shell' 'ipc' 'call' 'lockScreen' 'lock'" |
