summaryrefslogtreecommitdiff
path: root/niri/cfg/autostart.kdl
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-03-29 12:09:37 +0530
committerryukamish <[email protected]>2026-03-29 12:09:37 +0530
commit8a0869570c4f33cd6ba7c94809f47a6ad26d0cef (patch)
tree06662fe7b8196f5b9ce578eaad0f4c730c0743c1 /niri/cfg/autostart.kdl
parent4206a733eddb3c1c0707fd18b62b12650e6058bc (diff)
add: much better integration with kde apps
Diffstat (limited to 'niri/cfg/autostart.kdl')
-rw-r--r--niri/cfg/autostart.kdl12
1 files changed, 10 insertions, 2 deletions
diff --git a/niri/cfg/autostart.kdl b/niri/cfg/autostart.kdl
index 98b9c13..0a001df 100644
--- a/niri/cfg/autostart.kdl
+++ b/niri/cfg/autostart.kdl
@@ -1,10 +1,18 @@
// spawn-at-startup "qs" "-c" "noctalia-shell" "--no-duplicate"
-spawn-sh-at-startup "/usr/lib/polkit-kde-authentication-agent-1 &" // Polkit
+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 "swww-daemon"
+spawn-at-startup "awww-daemon"
spawn-sh-at-startup "waybar"
+
+spawn-sh-at-startup "wl-paste --type text --watch cliphist store"
+spawn-sh-at-startup "wl-paste --type image --watch cliphist store"
+
+spawn-sh-at-startup "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
+
+// For KDE application compatibility
+spawn-at-startup "kded6"