diff --git a/neofetch b/neofetch index 20f33a65..3ffc0f1e 100755 --- a/neofetch +++ b/neofetch @@ -777,6 +777,12 @@ getde () { "Mac OS X") de="Aqua" ;; *) de="${XDG_CURRENT_DESKTOP/i3}" ;; esac + + # TODO: Add support for all DEs that have xprop values. + if [ -z "$de" ]; then + de="$(xprop -root | awk -F '= ' '/KDE_SESSION_VERSION/ {printf $2}')" + + fi } # }}}