de_version: Add Xfce

This commit is contained in:
Michael Straube 2019-12-08 15:36:15 +01:00
parent 5ef4772bf0
commit 2d4ea78f7f
1 changed files with 5 additions and 0 deletions

View File

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