Snap any window to a corner (verified)
window_snapPosition a window to any corner of the focused monitor, resize, pin, and verify on-screen. Target by address or class/title match.
Instructions
Float + pin + resize + position ANY window to a corner of the focused monitor, then verify on-screen. Target by exact address or by class/title substring match (e.g. match="chrome"). Defaults to the SUPER+O standard size 1300x900. Example: "open chrome bottom right" = launch_app(browser) then window_snap(match="chrome", corner="br").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | keep the window visible across workspaces | |
| match | No | class or title substring to find the window | |
| width | No | ||
| corner | Yes | ||
| height | No | ||
| margin | No | ||
| address | No | exact Hyprland address like 0x5630... (wins over match) | |
| monitor | No | monitor name; defaults to the target window's monitor |