From 2d4ea78f7fd30ebaaedfdbcea77361b3c6bb0f93 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sun, 8 Dec 2019 15:36:15 +0100 Subject: [PATCH] de_version: Add Xfce --- neofetch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neofetch b/neofetch index d1fa01a0..813ae5c3 100755 --- a/neofetch +++ b/neofetch @@ -1620,6 +1620,11 @@ get_de() { de_ver=$(mate-session --version) de_ver=${de_ver/* } ;; + "Xfce"*) + de_ver=$(xfce4-session --version) + de_ver=${de_ver/)*} + de_ver=${de_ver/* } + ;; # TODO: Add other DEs esac de="$de $de_ver"