Actions
What a gesture, chord or bubble runs:
| Kind | Example | Notes |
|---|---|---|
| Keys | ctrl+shift+t |
layout-aware: ctrl+w presses the key that types w |
| Text | Best regards, |
typed as is, any character |
| Command | notify-send {title} |
sh -c; {class} {title} {monitor} {workspace} {x} {y} {name} are quoted for you |
| App | /usr/bin/firefox |
a program; pick one with a window open |
| Hyprland | hl.dsp.focus({ workspace = "+1" }) |
Linux/Hyprland only |
| Macro | keys, text, commands, pauses in order | |
| Integration | GlazeWM → Workspaces | an action an installed integration brings (Writing an integration) |
Everything runs as you, never as root, rate-limited (15/s).
Holding keys
Section titled “Holding keys”In a chord or a hub bubble, a Keys action can keep some of its keys down for the whole interaction: click a key chip to switch it from Tap to Hold.
- A bubble holds its keys as soon as the pointer is on it, and lets go of them when the hub closes; a chord, when its hold button is released. Escape cancels first (Escape, then the release).
- Later shortcuts of the same hub, or of chords with the same hold buttons, keep what is held: they neither press it again nor release it.
- Held shortcuts go to the focused window. Pause, a device lost, a reload and quitting let go of everything.
Example, an Alt+Tab switcher: a bubble whose shortcut is alt (Hold), with Tab on wheel up and shift+Tab on wheel down (Tap). Point at it, scroll to pick a window, close the hub to switch.
In JSON: "key_combo": "alt", "hold_keys": "alt" (each held key must be in key_combo).
Actions per system
Section titled “Actions per system”One binding can do the right thing on every system: under the action, Another action on some systems…, tick Linux, Windows or macOS and give that system its own action. The systems not ticked run the main one.
Example: a “copy” chord sends ctrl+c, and cmd+c on macOS; a “files” gesture runs nautilus, and explorer.exe on Windows.
In JSON (profiles, exports, integrations):
{ "name": "files", "action": "nautilus", "per_os": { "windows": { "action": "explorer.exe" }, "darwin": { "action": "open ~" } } }Imports warn about commands written for another system unless that system has its own action.