Set environment variables in sway

This commit is contained in:
coolneng 2021-04-16 13:59:24 +02:00
parent 1c8ce8ec6c
commit 25c56a6117
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 6 additions and 0 deletions

View File

@ -341,4 +341,10 @@ assign [app_id="mpv"] $workspace6
# Program behaviour # 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/* include /etc/sway/config.d/*