Settings
Click the rook tile and choose Settings…, or press ⌘, while the menu is open. Changes save at once. Settings › Licence is described on the Licence page.
General
Section titled “General”- Open at login keeps switching working after a restart. If macOS waits for your approval, Open Login Items takes you there.
- Wrap around at the edges, on by default: moving past the last column or row continues on the other side. Off, Rook plays the alert sound and stays put.
- Configuration file shows where
config.jsonis saved; Show in Finder selects it.
Space switches
Section titled “Space switches”macOS slides every switch sideways, so moving down the grid looks like moving right. Pick one:
- Instant (recommended) cuts straight to the Space and changes nothing else on your Mac. When that can’t work, for instance with the trackpad’s swipe between Spaces turned off, Rook slides as usual. A display mirrored to another keeps the slide; Setup names it.
- Fade with Reduce Motion fades switches in place, but Reduce Motion applies to the whole Mac, websites included. Picking it opens System Settings › Accessibility › Motion (› Display before macOS 27).
- Slide is the macOS default.
Spaces
Section titled “Spaces”One grid per display, one for a mirrored pair, or All displays when displays share Spaces. Your first grid walks through it.
Set Rows and Columns. Solid cells exist, dashed cells are new Spaces, red cells will be removed, and grey cells are padding at the end of a short last row. The footer counts the changes, and Revert drops them.
Apply… lists every change, such as “Remove Space 6. Its 3 windows move to another Space.” Confirm, and Rook presses Mission Control’s buttons, checking each step (A Space wasn’t removed).
Rook never adds or removes a Space on its own. When Spaces stop filling the grid, the pane shows pending changes for Apply; a grid too small for its Spaces grows a row instead.
Double-click a Space (or click its pencil), type a name of up to 24 characters and press Return. Esc cancels; an empty name removes it. Names save without Apply and show as a chip next to the tile, in its menu and in the overview. A name follows its Space when you reorder it or it moves to another display; Mission Control still calls it Desktop N. Show the Space’s name in the menu bar, under the grid, is on by default.
Hotkeys
Section titled “Hotkeys”Switch Space is the set of modifiers held with every shortcut, ⌃⌘ by default: any two of ⌃ ⌥ ⌘, with ⇧ if you like, but never all four, because Rook presses ⌃⌥⇧⌘ for Switch to Desktop.
Carry the window along is a second set, Switch Space plus ⇧ until you change it. It follows the same rules and can’t be the same set. Clear every key to turn carrying off.
The table below lists every shortcut with both sets. To change the Last Space or Overview key, click it and press a letter, a digit or the Space bar. The Spaces 1 to 9 checkbox turns all nine off.
A chord a macOS shortcut already uses is drawn in red, with a Keyboard Shortcuts… button; see Shortcut conflicts. On keyboards other than US, key caps show the US position (on AZERTY, A shows as Q); the shortcut still works.
Overview
Section titled “Overview”- Tiles: Numbers, the default, or Previews, a picture of each Space from the last time you were on it. Previews need Screen Recording; Allow… asks for it, and until then the overview shows numbers.
- Show after switching Spaces: how long the overview stays after every switch, 0.4 seconds by default, or Off.
- Stay open after the shortcut: how long it stays open when you do nothing, 3 seconds by default.
- Show Overview opens it to try your choices.
The last pane lists what Rook needs from macOS, each row with a button to System Settings. Done rows turn green on their own. Setup explains each step.
config.json
Section titled “config.json”Every setting is also a key in ~/.config/rook/config.json. Edit it by hand or keep it in your dotfiles: Rook applies changes when you save, and Settings writes only the key you touched.
Generated from Rook 0.11.2
| Key | Type | Default | What it does |
|---|---|---|---|
wrap | boolean | true | Moving past the last column or row continues on the other side. |
showSpaceName | boolean | true | Show the current Space's name next to the menu bar tile, when it has one. |
instantSwitching | boolean | false | Cut straight to a Space with no sideways slide: the Instant choice under Space switches in Settings › General. Falls back to macOS's shortcut when it can't work. |
hotkeys.modifiers | array | ["ctrl", "cmd"] | Held for every Rook shortcut except carrying a window. At least two of ctrl, opt, cmd; shift may be added; never all four, because ⌃⌥⇧⌘ is the chord Rook presses for Switch to Desktop. |
hotkeys.overview | string | "g" | The key that, with the modifiers, opens the overview. A letter, a digit or " " for the Space bar. |
hotkeys.lastSpace | string | "l" | The key that, with the modifiers, goes back to the Space you were on before. A letter, a digit or " " for the Space bar. |
hotkeys.jumpToSpace | boolean | true | The modifiers with 1 to 9 go to that Space on the display under the pointer. |
hotkeys.carryModifiers | array | the modifiers plus shift | Held with the arrows, 1 to 9 and the last Space key to take the window in front along. Absent, it follows hotkeys.modifiers plus shift; [] turns carrying off. The same rules as hotkeys.modifiers, and never the same set. macOS 15, or 26.4 and later. |
overview.tiles | string | "number" | "number" or "preview". Previews need Screen Recording. |
overview.hideAfterSwitch | seconds | 0.4 | How long the overview stays after each switch. 0 never shows it. |
overview.hideAfterOpen | seconds | 3 | How long it stays open after the shortcut. |
displays.<uuid> | grid | none | {"cols": 3, "rows": 2} for one display, keyed by its UUID; the key "all" when displays share Spaces. Written when you click Apply in Settings › Spaces. |
defaultGrid | grid | fits the Spaces | The grid for any display that has none of its own. Without it, the grid follows the Spaces there are. |
names.<space> | string | none | A Space's name, keyed by macOS's ID for the Space ("first:<display>" for the main display's first desktop, which has none). Up to 24 characters. Written when you name a Space in Settings › Spaces. |
dock.refreshAfterDisplayChange | boolean | false | Treat macOS's Switch to Desktop shortcuts as stale after every display change and repair them, even if nothing failed. Off, a repair follows only a switch that really failed. |
dock.idleSeconds | seconds | 1 | How long without a switch before Rook may restart the Dock to repair them. |
{ "wrap": true, "hotkeys": { "modifiers": ["ctrl", "cmd"], "overview": "g" }, "overview": { "tiles": "number", "hideAfterSwitch": 0.4, "hideAfterOpen": 3 }, "displays": { "37D8832A-2D66-02CA-B9F7-8F30A301B230": { "cols": 3, "rows": 2 } }}A display’s UUID is in the diagnostics report. A grid from the file that your Spaces don’t fill, say from dotfiles on a new Mac, shows Spaces: changes waiting… in the menu until you Apply it. If the file doesn’t decode, Settings shows the error, Rook never writes over the file, and it runs on its defaults until you fix it.
Something wrong on this page? Open an issue with its address.