Fix display of $XDG_SESSION_TYPE

- Fixed display $XDG_SESSION_TYPE
This commit is contained in:
Tommy Miland 2022-11-11 12:44:23 +01:00
parent ccd5d9f526
commit f9c7c570a1

View file

@ -1883,8 +1883,8 @@ get_de() {
# TODO:
# - New config option + flag: --de_display_server on/off ?
# - Add display of X11, Arcan and anything else relevant.
[[ $de && $WAYLAND_DISPLAY ]] &&
de+=" (Wayland)"
[[ $de ]] &&
de+=" (${XDG_SESSION_TYPE})"
de_run=1
}