[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:
parent
98863df16d
commit
4d9bbbae9c
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue