Docs: Add better docs

This commit is contained in:
Dylan Araps 2016-12-23 11:41:11 +11:00
parent 3e1bc7092a
commit 512c3beffd
1 changed files with 4 additions and 1 deletions

View File

@ -560,7 +560,10 @@ get_de() {
de="MATE"
fi
# If DE == WM unset DE.
# When a window manager is started from a display manager
# the desktop variables are sometimes also set to the
# window manager name. This checks to see if WM == DE
# and dicards the DE value.
[[ "$de" =~ $wm ]] && { unset -v de; return; }
;;
esac