neofetch: fix wm'
This commit is contained in:
parent
1d17b4dfdb
commit
bb82bf8343
1 changed files with 7 additions and 7 deletions
14
neofetch
14
neofetch
|
@ -1621,13 +1621,13 @@ get_wm() {
|
|||
|
||||
# Fallback for non-EWMH WMs.
|
||||
[[ -z "$wm" ]] && \
|
||||
wm="$(ps "${ps_flags[@]}" | grep -m 1 -o -F \
|
||||
-e "catwm" \
|
||||
-e "fvwm" \
|
||||
-e "dwm" \
|
||||
-e "2bwm" \
|
||||
-e "monsterwm" \
|
||||
-e "tinywm")"
|
||||
wm="$(ps "${ps_flags[@]}" | grep -m 1 -o \
|
||||
-e "[c]atwm" \
|
||||
-e "[f]vwm" \
|
||||
-e "[d]wm" \
|
||||
-e "[2]bwm" \
|
||||
-e "[m]onsterwm" \
|
||||
-e "[t]inywm")"
|
||||
|
||||
else
|
||||
case "$os" in
|
||||
|
|
Loading…
Reference in a new issue