From e4dffc46736cf06c641146db33d3a6e3a6d73182 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 22 Jul 2019 00:18:04 +0200 Subject: [PATCH] The K Desktop Environment was renamed to Plasma --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 91aebf7c..38cf4ded 100755 --- a/neofetch +++ b/neofetch @@ -1516,6 +1516,7 @@ get_de() { de="${XDG_CURRENT_DESKTOP/X\-}" de="${de/Budgie:GNOME/Budgie}" de="${de/:Unity7:ubuntu}" + de="${de/KDE/Plasma}" elif [[ "$DESKTOP_SESSION" ]]; then de="${DESKTOP_SESSION##*/}" @@ -1544,7 +1545,7 @@ get_de() { # Format strings. case "$de" in - "KDE_SESSION_VERSION"*) de="KDE${de/* = }" ;; + "KDE_SESSION_VERSION"*) de="Plasma${de/* = }" ;; *"xfce4"*) de="Xfce4" ;; *"xfce5"*) de="Xfce5" ;; *"xfce"*) de="Xfce" ;;