de: Fix GNOME bug

This commit is contained in:
dylan araps 2017-12-13 08:45:47 +11:00
parent ca49b178fe
commit db21981373

View file

@ -689,7 +689,10 @@ get_de() {
*"xfce5"*) de="Xfce5" ;;
*"xfce"*) de="Xfce" ;;
*"mate"*) de="MATE" ;;
*"GNOME"*) de="GNOME $(gnome-shell --version)" ;;
*"GNOME"*)
de="$(gnome-shell --version)"
de="${de/Shell }"
;;
esac
# Log that the function was run.