Don't try to display XDG_SESSION_TYPE on Windows
This commit is contained in:
parent
ce2a49e9a0
commit
98feca03f9
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2438,7 +2438,7 @@ get_de() {
|
|||
# TODO:
|
||||
# - New config option + flag: --de_display_server on/off ?
|
||||
# - Add display of X11, Arcan and anything else relevant.
|
||||
[[ $de ]] &&
|
||||
[[ $de ]] && [[ $os != "Windows" ]] &&
|
||||
de+=" (${XDG_SESSION_TYPE})"
|
||||
|
||||
de_run=1
|
||||
|
|
Loading…
Reference in a new issue