mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Fix bug where i3 would show up as a desktop environment and a window manager
This commit is contained in:
3
neofetch
3
neofetch
@@ -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"
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
Reference in New Issue
Block a user