de: Display Wayland if detected. Closes #1471
This commit is contained in:
parent
77bac34cc5
commit
a6137b26db
1 changed files with 7 additions and 1 deletions
8
neofetch
8
neofetch
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue