From a6137b26dbc9c4527f5468d5804652c729f47cb6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 4 Oct 2020 14:11:56 +0300 Subject: [PATCH] de: Display Wayland if detected. Closes #1471 --- neofetch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9f824816..764a8415 100755 --- a/neofetch +++ b/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 }