[F] Fix DE empty bracket in macOS

Closes #172

Co-Authored-By: Carter Li <6134068+carterli@users.noreply.github.com>
This commit is contained in:
Azalea 2023-08-18 09:41:43 -07:00
parent 98863df16d
commit 4d9bbbae9c

View file

@ -2452,7 +2452,7 @@ get_de() {
# TODO:
# - New config option + flag: --de_display_server on/off ?
# - Add display of X11, Arcan and anything else relevant.
[[ $de ]] && [[ $os != "Windows" ]] &&
[[ $de ]] && [[ -n $XDG_SESSION_TYPE ]] &&
de+=" (${XDG_SESSION_TYPE})"
de_run=1