add DISPLAY variables to systemd session
parent
3b26ec85f9
commit
7bae0f5aa0
|
@ -179,8 +179,6 @@ in {
|
|||
# Set app-ids and titles of views which should use client side decorations
|
||||
${riverctl} csd-filter-add app-id "gedit"
|
||||
|
||||
${riverctl} spawn "${dbus-update-activation-environment} --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
|
||||
${riverctl} spawn "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
|
||||
${configure-gtk}/bin/configure-gtk
|
||||
|
||||
trackball_names="pointer-21298-5120-Clearly_Superior_Technologies._CST_Laser_Trackball 21298:5120:Clearly_Superior_Technologies._CST_Laser_Trackball"
|
||||
|
@ -191,6 +189,9 @@ in {
|
|||
|
||||
${config.xdg.configHome}/river/init-kile
|
||||
|
||||
export XDG_CURRENT_DESKTOP=river
|
||||
${dbus-update-activation-environment} --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
systemctl --user start river-session.target
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue