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:
MoonBurst 2023-06-25 23:03:49 -05:00 committed by GitHub
parent ccd5d9f526
commit 723faca5cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 \