rsfetch
rsfetch copied to clipboard
Better way to get WM?
Referenced here is how Neofetch does it. This is purely a reference.
https://github.com/dylanaraps/neofetch/blob/master/neofetch#L1562
A better idea: retrieve the X property _NET_WM_NAME for the root window. The downside is that WM's that aren't EWMH-compliant don't set _NET_WM_NAME and won't be detected using this method.