Added important D-Bus and SystemD stuff to River

This commit is contained in:
Logan G 2024-01-01 20:15:17 -07:00
parent 4489fcfc0c
commit 34827022f4
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -151,3 +151,13 @@ riverctl set-repeat 50 300
# River will send the process group of the init executable SIGTERM on exit. # River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivertile riverctl default-layout rivertile
rivertile -view-padding 6 -outer-padding 6 & rivertile -view-padding 6 -outer-padding 6 &
export XDG_CURRENT_DESKTOP=river
systemctl --user import-environment DISPLAY \
WAYLAND_DISPLAY \
XDG_CURRENT_DESKTOP
dbus-update-activation-environment 2>/dev/null
dbus-update-activation-environment --systemd DISPLAY \
XDG_CURRENT_DESKTOP=river \
WAYLAND_DISPLAY