From 65f8053ede2580b24063e7c5ebe52ef6cde2a766 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 12 May 2016 09:01:51 +1000 Subject: [PATCH] Don't assume that user is running MATE if marco wm is detected. ref https://github.com/KittyKatt/screenFetch/issues/287 --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 978f9a95..8b648dfc 100755 --- a/neofetch +++ b/neofetch @@ -786,13 +786,12 @@ getde () { esac if [ -n "$DISPLAY" ] && [ -z "$de" ]; then - de="$(xprop -root | awk '/KDE_SESSION_VERSION|^_MARCO|^_MUFFIN|xfce4|xfce5/' 2>/dev/null)" + de="$(xprop -root | awk '/KDE_SESSION_VERSION|^_MUFFIN|xfce4|xfce5/' 2>/dev/null)" case "$de" in "KDE_SESSION_VERSION"*) de="KDE${de/* = }" ;; *"TDE_FULL_SESSION"*) de="Trinity" ;; *"MUFFIN"*) de="Cinnamon" ;; - *"MARCO"*) de="MATE" ;; *"xfce4"*) de="XFCE4" ;; *"xfce5"*) de="XFCE5" ;; esac