Bundled commands
The 22 script commands Cleat installs on first run, from currency conversion and GitHub repos to emptying the trash, and where to read or edit each one.
On first launch Cleat copies its example commands into ~/.config/cleat/commands. They are ordinary scripts you can read, edit or delete. Open Commands Folder in the palette takes you there.
| 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 |
| Empty Trash | Ask Finder to empty the Trash | |
| Toggle Dark Mode | Switch appearance | |
| Toggle Hidden Files | Show or hide dotfiles in Finder | |
| Toggle Wi-Fi | Wi-Fi on or off | |
| Toggle Mute | Mute or unmute output | |
| Volume Up, Volume Down | Ten percent steps | |
| Toggle Keep Awake | Stop the Mac from sleeping until toggled off | |
| Toggle Do Not Disturb | Runs a Shortcut named “Toggle Do Not Disturb” if you have one | |
| Eject All Disks | Unmount every external volume | |
| Lock Screen | Lock without sleeping | |
| Sleep, Sleep Display | Put the Mac or only the screen to sleep | |
| Start Screen Saver | Now | |
| Restart, Shut Down, Log Out | Each asks first |
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.