Set i3 Layout
set_layoutControl how the focused container displays its children: set layout (stacking, tabbed, split), split orientation, or border style. Reversible changes.
Instructions
Set how the focused container arranges children: container layout (stacking/tabbed/split*), the split orientation for the next window, and/or the border style. Reversible. Provide at least one of layout/split/border; border_width applies only to the pixel border. For floating/fullscreen/sticky state use toggle_window_state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| split | No | Split orientation for the next new window. | |
| border | No | Border style for the focused window. | |
| layout | No | Container layout to apply to the focused node. | |
| border_width | No | Border width in px; used only with border='pixel'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | First error message across the payload, or null on full success. | |
| success | Yes | True only if every command in the payload succeeded. | |
| outcomes | No | Per-command outcomes, in payload order. |