DE: Fix empty var

This commit is contained in:
Dylan Araps 2017-01-02 11:48:23 +11:00
parent 0b188d7c55
commit 8bacdc2cc1

View file

@ -539,7 +539,7 @@ get_de() {
(( wm_run != 1 )) && get_wm
if [[ "$XDG_CURRENT_DESKTOP" ]]; then
de="${de/'X-'}"
de="${XDG_CURRENT_DESKTOP/'X-'}"
de="${de/Budgie:GNOME/Budgie}"
elif [[ "$DESKTOP_SESSION" ]]; then