Browse the handbook

Bundled commands and system actions

The five script commands Cleat installs on first run, the seventeen Mac actions that are built into the app itself, and where to read or edit each one.

Cleat extensionsUpdated

Two kinds of thing ship in the box. Script commands are ordinary executables copied into ~/.config/cleat/commands on first launch; you can read, edit or delete them, and Open Commands Folder in the palette takes you there. System actions are compiled into Cleat, so they rank with everything else and survive the commands folder being emptied.

Script commands

Command Keyword What it does
Currency cur 100 usd eur, rates from the European Central Bank
GitHub Repos gh Open one of your repositories, through the gh CLI
Projects p Open a folder from ~/Development
Kill Process kill Force quit a process by name
IP Address ip Copy a local or public IP address

The scripts are short. Currency is the longest at around forty lines; most are under ten. They are a good place to start when writing your own.

There is deliberately no media downloader. It would be a six-line wrapper around yt-dlp, which most Macs do not have and whose targets mostly forbid it. If you want one, those six lines are yours to write: an executable that calls yt-dlp "$1" with a # cleat: manifest on its second line, dropped into the commands folder.

System actions

The full set, including screenshots, Mission Control, quitting and hiding apps, Dock and Stage Manager toggles, AirDrop, Time Machine and media keys, is on the Mac actions page. The ones below are the original core.

Type the name, or a word from it. dark finds Toggle Dark Mode, afk finds Lock Screen.

Action What it does
Sleep, Sleep Display Put the Mac, or only the screen, to sleep
Lock Screen Lock without sleeping
Start Screen Saver Now
Empty Trash Asks Finder to empty it
Toggle Dark Mode Switch appearance
Eject All Disks Unmount every external volume
Toggle Mute, Volume Up, Volume Down Output volume, in steps of ten
Keep Awake Stops the Mac sleeping until you run it again. Cleat owns the caffeinate process, so the row always knows which state you are in
Toggle Wi-Fi Off, or back on
Toggle Hidden Files Show or hide dotfiles in Finder, which relaunches
Toggle Do Not Disturb Runs a Shortcut named “Toggle Do Not Disturb”. macOS offers no other door into Focus
Restart, Shut Down, Log Out Each asks first, in a native alert

If you kept an older copy of one of these as a script, Cleat shows the built-in and leaves the script out of results rather than listing both.

Developer commands

Ports, Simulators and Docker Containers ship alongside these; they are described on the For developers page.