From db21981373737c0865ba5bce475b652aeca2e761 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Wed, 13 Dec 2017 08:45:47 +1100 Subject: [PATCH] de: Fix GNOME bug --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 07ad1a99..9cbf8441 100755 --- a/neofetch +++ b/neofetch @@ -689,7 +689,10 @@ get_de() { *"xfce5"*) de="Xfce5" ;; *"xfce"*) de="Xfce" ;; *"mate"*) de="MATE" ;; - *"GNOME"*) de="GNOME $(gnome-shell --version)" ;; + *"GNOME"*) + de="$(gnome-shell --version)" + de="${de/Shell }" + ;; esac # Log that the function was run.