Commit 7dbb157a authored by Dylan Araps's avatar Dylan Araps

wm: Show version for KDE and dwm.

parent 944968cf
...@@ -793,8 +793,12 @@ get_wm() { ...@@ -793,8 +793,12 @@ get_wm() {
-e "tinywm")" -e "tinywm")"
if [[ "$wm_version" == "on" ]]; then if [[ "$wm_version" == "on" ]]; then
wmv="$wm $("${wm,,}" --version || "${wm,,}" -v)" wmv="$wm $("${wm,,}" --version || \
"${wm,,}" -v || \
"${wm,,}_x11" -v)" || \
"${wm,,}_wayland" -v")"
wmv="${wmv/$wm $wm/$wm}" wmv="${wmv/$wm $wm/$wm}"
wmv="${wmv/$wm $wm-/$wm}"
wmv="${wmv/copyright*}" wmv="${wmv/copyright*}"
wmv="${wmv/version }" wmv="${wmv/version }"
wmv="${wmv/©*}" wmv="${wmv/©*}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment