wm: Show version for KDE and dwm.
This commit is contained in:
parent
944968cf69
commit
7dbb157a80
1 changed files with 5 additions and 1 deletions
6
neofetch
6
neofetch
|
@ -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/©*}"
|
||||||
|
|
Loading…
Reference in a new issue