de_version: Add Deepin
This commit is contained in:
parent
cfde63b5f4
commit
9303077f0e
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -1609,6 +1609,7 @@ get_de() {
|
||||||
"Xfce"*) de_ver=$(xfce4-session --version) ;;
|
"Xfce"*) de_ver=$(xfce4-session --version) ;;
|
||||||
"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) ;;
|
||||||
# TODO: Add other DEs
|
# TODO: Add other DEs
|
||||||
esac
|
esac
|
||||||
de_ver=${de_ver/)*}
|
de_ver=${de_ver/)*}
|
||||||
|
|
Loading…
Reference in a new issue