# 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 XCURSOR_SIZE exec hash dbus-update-activation-environment && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XCURSOR_SIZE