de_version: Add Budgie

This commit is contained in:
Michael Straube 2019-12-08 19:47:58 +01:00
parent 9303077f0e
commit 02fe481540
1 changed files with 2 additions and 0 deletions

View File

@ -1610,8 +1610,10 @@ get_de() {
"GNOME"*) de_ver=$(gnome-shell --version) ;; "GNOME"*) de_ver=$(gnome-shell --version) ;;
"Cinnamon"*) de_ver=$(cinnamon --version) ;; "Cinnamon"*) de_ver=$(cinnamon --version) ;;
"Deepin"*) de_ver=$(awk -F'=' '/Version/ {print $2}' /etc/deepin-version) ;; "Deepin"*) de_ver=$(awk -F'=' '/Version/ {print $2}' /etc/deepin-version) ;;
"Budgie"*) de_ver=$(budgie-desktop --version) ;;
# TODO: Add other DEs # TODO: Add other DEs
esac esac
de_ver=${de_ver/Copyright*}
de_ver=${de_ver/)*} de_ver=${de_ver/)*}
de_ver=${de_ver/* } de_ver=${de_ver/* }