How can you check if a window is minimized via the terminal in linux?
xwininfo -name 'Window Title' | grep 'Map State:'
Look for IsViewable
versus IsUnMapped
; these come from the map_state
field returned by XGetWindowAttributes
.
(At least, that works with traditional window managers; I don't know if Compiz does screwy stuff to allow for thumbnailing minimized windows.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With