de_version: Add LXQt

This commit is contained in:
Michael Straube 2019-12-09 17:21:12 +01:00
parent 02fe481540
commit 96199eab1c
1 changed files with 2 additions and 0 deletions

View File

@ -1611,8 +1611,10 @@ get_de() {
"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) ;; "Budgie"*) de_ver=$(budgie-desktop --version) ;;
"LXQt"*) de_ver=$(lxqt-session --version) ;;
# TODO: Add other DEs # TODO: Add other DEs
esac esac
de_ver=${de_ver/liblxqt*}
de_ver=${de_ver/Copyright*} de_ver=${de_ver/Copyright*}
de_ver=${de_ver/)*} de_ver=${de_ver/)*}
de_ver=${de_ver/* } de_ver=${de_ver/* }