From 98feca03f9fe47d4aade102e2bbdc4a812256412 Mon Sep 17 00:00:00 2001 From: mcneb10 Date: Wed, 9 Aug 2023 13:04:55 -0500 Subject: [PATCH] Don't try to display XDG_SESSION_TYPE on Windows --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index a9ef9a54..7dd64986 100755 --- a/neofetch +++ b/neofetch @@ -2438,7 +2438,7 @@ get_de() { # TODO: # - New config option + flag: --de_display_server on/off ? # - Add display of X11, Arcan and anything else relevant. - [[ $de ]] && + [[ $de ]] && [[ $os != "Windows" ]] && de+=" (${XDG_SESSION_TYPE})" de_run=1