aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch4
1 files changed, 4 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 343b0b7..c913820 100755
--- a/pfetch
+++ b/pfetch
@@ -680,6 +680,10 @@ get_editor() {
}
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 '$DESKTOP_SESSION'.
log de "${XDG_CURRENT_DESKTOP:-$DESKTOP_SESSION}" >&6