9 lines
481 B
Text
9 lines
481 B
Text
# import variables into system-user enviroment
|
|
# based on the instructions in the sway wiki
|
|
# see also https://github.com/swaywm/sway/issues/5732
|
|
# and https://github.com/systemd/systemd/blob/dfc637d0ff756889e8e5b7cb4ec991eb06069aa1/xorg/50-systemd-user.sh
|
|
|
|
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
|
|
exec hash dbus-update-activation-environment 2>/dev/null && \
|
|
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|