Waddle docs

Reference

Quick action scripts

A script with a title header in ~/.waddle/actions becomes an action in Waddle's palette (⌥Space). Raycast script commands work as they are.

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

HeaderWhat it does
@waddle.titleIts name in the palette. Required.
@waddle.modeWhat happens to what it prints (below).
@waddle.argument1 to 3Up to three arguments. End one with (optional) to make it optional.
@waddle.iconIts icon.
@waddle.confirm trueAsks before it runs.

Raycast's @raycast.* headers are read too, so Raycast script commands work as they are.

Modes

ModeWhat happens
sayWaddle says the first line it prints. The default.
silentNothing.
copyCopies what it prints.
pastePastes it where you were typing (needs Accessibility).
openOpens it: a link or a file.
showThe 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.