The wrappers for GJS/Gnome don't seem to expose the "minimized" property. There is a get_maximized(), but this doesn't seem to return the information I need.
Using the JavaScript bindings for Gnome Applets, is there a way to get whether a MetaWindow is minimized?
The property minimized is exposed in Gjs.
In LookingGlass ([Alt]+[F2], then "lg") try this :
global.screen.get_active_workspace().list_windows()[0].minimized