This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Running Gnome-related services can cause Neofetch to incorrectly detect WM as Gnome/mutter #2298
Closed
1 task done
Description
Running neofetch when using the sway window-manager will report Mutter (Gnome) if some Gnome-services are started.
It's not uncommon to also depend on a few gnome-related tools (Gnome keyring, Gnome Control Center, Gnome Polkit, dbus, whatever).
Activating any of those may result in a gnome-shell process being launched, making this resulting process-lookup return incorrect results, because both sway and gnome-shell is present. (This may affect other tiling window-managers like i3wm as well, but I haven't tested that).
neofetch/neofetch
Lines 1909 to 1938 in ccd5d9f
This can be seen from a manual shell invocation:
If removing the
-m 1
clause, we can see multiple processes being found, and I guess the problem is about (a lacking) handling of precedence:Neofetch version
7.1.0
Screenshot
Config file
None
Verbose log
neofetchlog.txt
The text was updated successfully, but these errors were encountered: