Reputation: 3983
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?
https://developer.gnome.org/meta/stable/MetaWindow.html
Upvotes: 1
Views: 425
Reputation: 975
The property minimized is exposed in Gjs.
In LookingGlass ([Alt]+[F2], then "lg") try this :
global.screen.get_active_workspace().list_windows()[0].minimized
Upvotes: 1