diff --git a/neofetch b/neofetch index e6658129..8c974bec 100755 --- a/neofetch +++ b/neofetch @@ -2452,7 +2452,7 @@ get_de() { # TODO: # - New config option + flag: --de_display_server on/off ? # - Add display of X11, Arcan and anything else relevant. - [[ $de ]] && [[ $os != "Windows" ]] && + [[ $de ]] && [[ -n $XDG_SESSION_TYPE ]] && de+=" (${XDG_SESSION_TYPE})" de_run=1