window_manage
Control a window through the compositor: move, resize, close, minimize, maximize, re-workspace, or pin. Returns the actual resulting geometry or state, noting unsaved-changes dialogs when close leaves the window open.
Instructions
Move, resize, close, (un)minimize, (un)maximize, re-workspace or pin a window -- through the compositor, where these are ordinary calls. The result reports the window as it IS afterwards (new geometry, or gone), not just that the call was sent. close that leaves the window standing names the usual reason: an unsaved-changes dialog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| above | No | For action: above -- pin or unpin. | |
| index | No | Workspace index, for action: workspace | |
| width | No | ||
| action | Yes | ||
| height | No | ||
| target | Yes | Window id, wm_class or title fragment. |