Fix bug where i3 would show up as a desktop environment and a window manager

This commit is contained in:
Dylan 2016-03-12 19:11:17 +11:00
parent 04d74d8102
commit edd87f4cfe
1 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ SYS_LOCALE="$LANG"
export LC_ALL=C
export LANG=C
# Config Options {{{
@ -727,7 +728,7 @@ getshell () {
# Desktop Environment {{{
getde () {
[ "$XDG_CURRENT_DESKTOP" ] && de="$XDG_CURRENT_DESKTOP"
[ "$XDG_CURRENT_DESKTOP" != "i3" ] && de="$XDG_CURRENT_DESKTOP"
}
# }}}