save_zone_set
Create or replace named drag-snap zones as screen fractions; assign to a monitor to activate immediately, set custom gap spacing, or keep existing defaults.
Instructions
Create or replace a named zone set used for drag snapping. Zones are rectangles {x,y,w,h} as fractions 0..1 of a screen's visible area, origin TOP-LEFT; each zone must stay inside the screen, but zones may overlap each other (the smallest one under the cursor wins). Pass 'screen' to also assign the set to that monitor so it becomes active immediately. Pass 'gap' to give this set its own spacing around windows in points, or null to make it follow the default gap again; omitting it keeps whatever the set had. Built-in sets already exist: Halves, Thirds, 60 / 40, Quarters, Priority.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | This set's own gap in points; null follows the default gap (get_state.zone_gap); omit to leave unchanged | |
| name | Yes | Zone set name, e.g. 'coding' | |
| zones | Yes | ||
| screen | No | Monitor index to assign this set to (0 = primary) |