rsfetch icon indicating copy to clipboard operation
rsfetch copied to clipboard

Better way to get WM?

Open Phate6660 opened this issue 6 years ago • 1 comments

Referenced here is how Neofetch does it. This is purely a reference.

https://github.com/dylanaraps/neofetch/blob/master/neofetch#L1562

Phate6660 avatar May 20 '19 20:05 Phate6660

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.

kiedtl avatar Dec 15 '19 22:12 kiedtl