The K Desktop Environment was renamed to Plasma

This commit is contained in:
Carl Schwan 2019-07-22 00:18:04 +02:00
parent 28dd7f4696
commit e4dffc4673
No known key found for this signature in database
GPG Key ID: 06B35D38387B67BE
1 changed files with 2 additions and 1 deletions

View File

@ -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" ;;