Skip to content

Commit

Permalink
Don't try to display XDG_SESSION_TYPE on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mcneb10 committed Aug 9, 2023
1 parent ce2a49e commit 98feca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98feca0

Please sign in to comment.