diff --git a/sway/.config/sway/config.d/80-systemd-user.conf b/sway/.config/sway/config.d/80-systemd-user.conf index d75ccdb..a1fafba 100644 --- a/sway/.config/sway/config.d/80-systemd-user.conf +++ b/sway/.config/sway/config.d/80-systemd-user.conf @@ -1,7 +1 @@ -# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment -# See FS#63021 -# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal. - -exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP -exec hash dbus-update-activation-environment 2>/dev/null && \ - dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP +include /etc/sway/config.d/*