Make one
Put an executable script in ~/.waddle/actions (or one folder down), with a title header:
sh
#!/bin/bash
# @waddle.title Say hi
# @waddle.mode say
# @waddle.argument1 name (optional)
# @waddle.icon 👋
echo "hi ${1:-there}!"Then chmod +x say-hi.sh, press ⌥Space, and type its name. Waddle says the first line it prints. For a fuller one, look at free-port.sh in the same folder, which Waddle put there.
Headers
| Header | What it does |
|---|---|
@waddle.title | Its name in the palette. Required. |
@waddle.mode | What happens to what it prints (below). |
@waddle.argument1 to 3 | Up to three arguments. End one with (optional) to make it optional. |
@waddle.icon | Its icon. |
@waddle.confirm true | Asks before it runs. |
Raycast's @raycast.* headers are read too, so Raycast script commands work as they are.
Modes
| Mode | What happens |
|---|---|
say | Waddle says the first line it prints. The default. |
silent | Nothing. |
copy | Copies what it prints. |
paste | Pastes it where you were typing (needs Accessibility). |
open | Opens it: a link or a file. |
show | The palette shows everything it printed. |
How they run
- Only when you pick them, from that folder, for 60 seconds at most.
- With your shell's PATH. What they print stays on your Mac.
- Errors stay in the palette, with Copy error.
Waddle comes with examples in that folder (ports in use, open localhost, a UUID, pretty JSON, a JWT, a timestamp and more). Change or delete any of them: Waddle leaves one you've changed alone and doesn't bring back one you've deleted.