Closed blk750 closed 2 years ago
Shod can minimize containers.
You can use either wmctrl (which works in all EWMH-compliant window managers) or shodc(1)
, shod's remote controller.
With shodc(1)
, the following command either minimizes a visible container, or restores a minimized container:
shodc state -m <WINDOWID>
To list the window IDs, run the following command:
shodc list -l
In the shodc list -l
output, if the fourth character of the first column is a m
, the window is minimized; if it is a -
, it is not minimized. For example, in the following output, one of the windows is in a minimized container:
---m----- 3 650x394+6+322 0x0340000a 0x0340000a 0x0340000a ~ - ttyp4
--------- 3 650x394+424+183 0x0200000a 0x0200000a 0x0200000a ~ - ttyp3
The IDs are in the sixth column (0x0340000a
and 0x0200000a
in the previous example cases).
The fourth and fifth columns may have the same id if the window is the sole window in a container or is the focused window in a container.
oh
I think this is a cool window manager, although the ability to minimize containers would be nice.