press_key
Sends key presses or combinations to a specified Hyprland app for automation, using xdotool-style syntax like ctrl+v or alt+left.
Instructions
Press a key or key-combination, using xdotool-style syntax such as ctrl+v, Return, alt+left, or super+c.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App name, Hyprland class/title, pid, or address:0x... selector. | |
| key | No | Key or key-combination to press. | |
| keys | No | Compatibility shortcut string, for example alt+left. | |
| repeat | No | Number of times to repeat the key. Defaults to 1. | |
| keycode | No | Raw evdev keycode, ydotool-style. | |
| modifiers | No | Optional modifiers when key is a bare key, for example alt. | |
| confirmation_token | No | Externally approved, one-time challenge ID from request_confirmation for a high-risk action. |