Don't try to display XDG_SESSION_TYPE on Windows

This commit is contained in:
mcneb10 2023-08-09 13:04:55 -05:00
parent ce2a49e9a0
commit 98feca03f9

View file

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