Open aspiers opened 11 years ago
There's probably room for a new xdotool command to do formatted (and/or json!) outputs some properties of any windows in the window stack. Thoughts?
Rough proposal:
xdotool selectwindow windowproperties id pid class
Would use selectwindow to have oyu click on a window, then this proposed 'windowproperties' command would output the id, pid, and window class for the window. This would also work with xdotool search ... windowproperties ...
or something.
Thoughts?
Yes, sounds good!
wmctrl can list all visible windows across all desktops in one go, along with their window name, class, window id, pid, and desktop number:
This is very convenient for scripting.