From 25c56a61172714b0ad636a2ff4607fa018c6a449 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 16 Apr 2021 13:59:24 +0200 Subject: [PATCH] Set environment variables in sway --- sway/.config/sway/config | 6 ++++++ 1 file changed, 6 insertions(+) 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/*