mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +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 LC_ALL=C
|
||||||
export LANG=C
|
export LANG=C
|
||||||
|
|
||||||
|
|
||||||
# Config Options {{{
|
# Config Options {{{
|
||||||
|
|
||||||
|
|
||||||
@@ -727,7 +728,7 @@ getshell () {
|
|||||||
# Desktop Environment {{{
|
# Desktop Environment {{{
|
||||||
|
|
||||||
getde () {
|
getde () {
|
||||||
[ "$XDG_CURRENT_DESKTOP" ] && de="$XDG_CURRENT_DESKTOP"
|
[ "$XDG_CURRENT_DESKTOP" != "i3" ] && de="$XDG_CURRENT_DESKTOP"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
Reference in New Issue
Block a user