mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-16 00:47:13 +00:00
Docs: Add better docs
This commit is contained in:
5
neofetch
5
neofetch
@@ -560,7 +560,10 @@ get_de() {
|
|||||||
de="MATE"
|
de="MATE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If DE == WM unset DE.
|
# When a window manager is started from a display manager
|
||||||
|
# the desktop variables are sometimes also set to the
|
||||||
|
# window manager name. This checks to see if WM == DE
|
||||||
|
# and dicards the DE value.
|
||||||
[[ "$de" =~ $wm ]] && { unset -v de; return; }
|
[[ "$de" =~ $wm ]] && { unset -v de; return; }
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user