From f9c7c570a1125d2277a3073046978ab4ec2de211 Mon Sep 17 00:00:00 2001 From: Tommy Miland Date: Fri, 11 Nov 2022 12:44:23 +0100 Subject: [PATCH] Fix display of $XDG_SESSION_TYPE - Fixed display $XDG_SESSION_TYPE --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 48b96d21..9799c0c4 100755 --- a/neofetch +++ b/neofetch @@ -1883,8 +1883,8 @@ get_de() { # 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 ]] && + de+=" (${XDG_SESSION_TYPE})" de_run=1 }