de: Display Wayland if detected. Closes #1471

This commit is contained in:
Dylan Araps 2020-10-04 14:11:56 +03:00
parent 77bac34cc5
commit a6137b26db
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -1800,9 +1800,15 @@ get_de() {
de_ver=${de_ver/* }
de_ver=${de_ver//\"}
de="$de $de_ver"
de+=" $de_ver"
fi
# 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_run=1
}