neofetch: fix wm'

This commit is contained in:
Dylan Araps 2019-09-10 16:07:25 +03:00
parent 1d17b4dfdb
commit bb82bf8343
1 changed files with 7 additions and 7 deletions

View File

@ -1621,13 +1621,13 @@ get_wm() {
# Fallback for non-EWMH WMs. # Fallback for non-EWMH WMs.
[[ -z "$wm" ]] && \ [[ -z "$wm" ]] && \
wm="$(ps "${ps_flags[@]}" | grep -m 1 -o -F \ wm="$(ps "${ps_flags[@]}" | grep -m 1 -o \
-e "catwm" \ -e "[c]atwm" \
-e "fvwm" \ -e "[f]vwm" \
-e "dwm" \ -e "[d]wm" \
-e "2bwm" \ -e "[2]bwm" \
-e "monsterwm" \ -e "[m]onsterwm" \
-e "tinywm")" -e "[t]inywm")"
else else
case "$os" in case "$os" in