Update neofetch
adding the -v flag to the wm check, fixing the bug where swayidle and swaybg commonly used in other systems read as sway being the running WM.
This commit is contained in:
parent
ccd5d9f526
commit
723faca5cd
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1906,7 +1906,7 @@ get_wm() {
|
|||
# lsof may not exist, or may need root on some systems. Similarly fuser.
|
||||
# On those systems we search for a list of known window managers, this can mistakenly
|
||||
# match processes for another user or session and will miss unlisted window managers.
|
||||
wm=$(ps "${ps_flags[@]}" | grep -m 1 -o -F \
|
||||
wm=$(ps "${ps_flags[@]}" | grep -m 1 -o -F -v \
|
||||
-e arcan \
|
||||
-e asc \
|
||||
-e clayland \
|
||||
|
|
Loading…
Reference in a new issue