Revert "update $WAYLAND_DISPLAY and $DISPLAY post login"
This reverts commit dd4fa3daea.
This commit is contained in:
parent
dd4fa3daea
commit
77eee4602b
1 changed files with 1 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue