Remove 'X-' from de name

This commit is contained in:
Dylan 2016-04-02 02:22:08 +11:00
parent 87589110b3
commit dda95387de

View file

@ -775,7 +775,10 @@ getshell () {
getde () {
case "$os" in
"Mac OS X") de="Aqua" ;;
*) de="${XDG_CURRENT_DESKTOP/i3}" ;;
*)
de="${XDG_CURRENT_DESKTOP/i3}"
de=${de/'X-'}
;;
esac
# TODO: Add support for all DEs that have xprop values.