mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-08 16:11:28 +00:00
docs: update
This commit is contained in:
1 parent
29b09c8622
commit
cfc0e8e4d0
1 file changed
+4
@@ -680,6 +680,10 @@ get_editor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_de() {
|
get_de() {
|
||||||
|
# This only supports Xorg related desktop environments though
|
||||||
|
# this is fine as knowing the desktop envrionment on Windows,
|
||||||
|
# macOS etc is useless (they'll always report the same value).
|
||||||
|
#
|
||||||
# Display the value of '$XDG_CURRENT_DESKTOP', if it's empty,
|
# Display the value of '$XDG_CURRENT_DESKTOP', if it's empty,
|
||||||
# display the value of '$DESKTOP_SESSION'.
|
# display the value of '$DESKTOP_SESSION'.
|
||||||
log de "${XDG_CURRENT_DESKTOP:-$DESKTOP_SESSION}" >&6
|
log de "${XDG_CURRENT_DESKTOP:-$DESKTOP_SESSION}" >&6
|
||||||
|
|||||||
Reference in new issue
Block a user