[PR] dylanaraps/neofetch#2232 from tmiland - Fix display of

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2232
Thanks to @tmiland

Co-authored-by: Tommy Miland <kontakt@tmiland.com>
This commit is contained in:
Hykilpikonna 2022-11-13 12:24:14 -05:00
commit b4944599c5
No known key found for this signature in database
GPG key ID: 256CD01A41D7FA26

View file

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