Revert "update $WAYLAND_DISPLAY and $DISPLAY post login"

This reverts commit dd4fa3daea.
This commit is contained in:
Michael Aaron Murphy 2025-06-11 14:48:55 +02:00
parent dd4fa3daea
commit 77eee4602b
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -40,13 +40,7 @@ export DCONF_PROFILE=cosmic
if command -v dbus-update-activation-environment >/dev/null; then
# set environment variables for new units started by user service manager
dbus-update-activation-environment --systemd \
DCONF_PROFILE \
DISPLAY \
WAYLAND_DISPLAY \
XDG_CURRENT_DESKTOP \
XDG_SESSION_TYPE \
# EOF
dbus-update-activation-environment --systemd XDG_SESSION_TYPE XDG_CURRENT_DESKTOP DCONF_PROFILE
fi
# Run cosmic-session
if [[ -z "${DBUS_SESSION_BUS_ADDRESS}" ]]; then