From 8a0869570c4f33cd6ba7c94809f47a6ad26d0cef Mon Sep 17 00:00:00 2001 From: ryukamish Date: Sun, 29 Mar 2026 12:09:37 +0530 Subject: add: much better integration with kde apps --- niri/cfg/autostart.kdl | 12 ++++++++++-- 1 file 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" -- cgit v1.3