focus_monitor
Move input focus to a specified monitor by ID, name, or direction (l/r/u/d).
Instructions
Move focus to a given monitor. NOTE: unlike window/workspace dispatchers, the 0.55+ Lua path for monitor focus isn't documented anywhere confirmable at authoring time — this guesses hl.dsp.focus() (the same top-level dispatcher used for window focus) also accepts a monitor key. If it errors, use hyprland_dispatch with a raw_expression checked against your Lua LSP stubs instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor | Yes | Monitor id, name, or direction (l/r/u/d) |