summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-03-29 12:36:00 +0530
committerryukamish <[email protected]>2026-03-29 12:36:00 +0530
commita56d904266fb2cbf4b3fe614b957a086562b4757 (patch)
tree8239187c4fc076253c34c477255220657bf69477 /niri
parent8c88818832988e4625698a76f66e9a25e317250c (diff)
fix: swayidle turning display off when media is playing
Diffstat (limited to 'niri')
-rw-r--r--niri/cfg/autostart.kdl10
1 files changed, 5 insertions, 5 deletions
diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl
index 0a001df..88032d6 100644
--- a/niri/cfg/autostart.kdl
+++ b/niri/cfg/autostart.kdl
@@ -1,10 +1,10 @@
// spawn-at-startup "qs" "-c" "noctalia-shell" "--no-duplicate"
spawn-at-startup "/usr/lib/polkit-kde-authentication-agent-1 &" // Polkit
-spawn-at-startup "swayidle" "-w" \
- "timeout" "300" "'niri' 'msg' 'action' 'power-off-monitors'" \
- "timeout" "310" "swaylock" \
- "resume" "'niri' 'msg' 'action' 'power-on-monitors'" \
- "before-sleep" "swaylock"
+spawn-at-startup "swayidle" "-w"\
+ "timeout" "300" "swaylock -f"\
+ "timeout" "600" "niri msg action power-off-monitors"\
+ "resume" "niri msg action power-on-monitors"\
+ "before-sleep" "swaylock -f"
spawn-at-startup "awww-daemon"
spawn-sh-at-startup "waybar"