@ -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
}
# }}}