hypr
Control Hyprland desktops via IPC: switch workspaces, focus, move, or close windows, toggle fullscreen or floating, and manage display power.
Instructions
Window/workspace ops over IPC (instant, no vision).
action='workspace' (workspace: number/name/'special:name') |
'focus_window' (target: address) | 'move_window' (target + workspace,
silent) | 'close_window' (target) | 'fullscreen' (target?) |
'toggle_floating' (target?) | 'dpms_on' / 'dpms_off' (display power;
screenshots cannot capture a dark display — desktop() reports it and
screenshot errors with a pointer here). then ('desktop'|'screenshot'|'ui'|'none')
appends the result to this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| then | No | none | |
| action | Yes | ||
| target | No | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |