diff --git a/sway/.config/sway/config b/sway/.config/sway/config index df60608..3b8219a 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -341,4 +341,10 @@ assign [app_id="mpv"] $workspace6 # Program behaviour # +# +# Set environment variables +# +exec systemctl --user import-environment WAYLAND_DISPLAY DISPLAY DBUS_SESSION_BUS_ADDRESS SWAYSOCK +exec dbus-update-activation-environment WAYLAND_DISPLAY + include /etc/sway/config.d/*