From 0085f9ba74bcefa2516c0de4463ab214557c46d7 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Tue, 3 Mar 2026 18:01:00 +0530 Subject: some fixes here and there --- niri/cfg/autostart.kdl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'niri/cfg/autostart.kdl') 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'" -- cgit v1.3