niri_take_screenshot
Capture full-screen or window-specific screenshots on Niri Desktop and get the saved image path.
Instructions
Capture a screenshot on Niri DE. target: 'screen' (entire focused monitor) or 'window' (focused window only). Returns path to saved screenshot image file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | screen |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |