Guide › Workspaces
Workspaces
A workspace holds the windows of one project. Only the workspace you're in shows on screen. The others wait exactly as you left them.
How workspaces work
Every window belongs to one workspace
Rotara works window by window, not app by app. One browser window can be in one workspace and another browser window in a second. When you switch, the windows of the other workspaces are tucked into the bottom-right corner of the screen. Nothing is minimized or closed, and every window comes back at the same size and place. See The tucked-window corner.
Main
Main is your first workspace. It's always there and always number 1. It can't be renamed, deleted or moved from first place. Windows from a workspace you delete can go to Main.
Names, colours and numbers
Each workspace has a name, a colour and a number. The number is its place in the order, and it's the key that goes there: ⌃1 for the first, ⌃2 for the second. The workspace pie shows it on a small badge in the workspace's colour.
To pick a colour, open the rename field (the pencil on a workspace, or Return while you point at it) and click one of the colour dots under the name. You can also open a workspace's ⓘ in Settings → Workspaces and choose its Color. The badge, the menu bar icon and the pies change at once. Main stays grey. New workspaces still get a colour on their own, skipping any already in use.
Workspaces come back as you left them
Coming back to a workspace brings its windows back in the same front-to-back order, with the same window in front. An app you hid with ⌘H stays hidden in that workspace and shows as usual in the others. A window you minimized stays minimized.
Switching
| Open the workspace pie | ⌘caps lock |
| Go to workspace 1 to 9 | ⌃1 to ⌃9 |
| Previous or next workspace | ⌃← ⌃→ |
| Swipe on the trackpad | left or right |
These are the default keys. You can change them in Settings. See Keyboard.
With the workspace pie
Press ⌘ Caps Lock and click a workspace. Or hold the keys, point at a workspace and let go. See The workspace pie.
With Control and a number
⌃1 to ⌃9 go straight to that workspace. Main is 1. If you use Raycast's Hyper Key on Caps Lock, you can also turn on Hyper Key + 1–9.
With Control and the arrows
⌃← and ⌃→ go to the previous and next workspace in order. At the first or last workspace, nothing happens. These are the keys macOS uses to move between Spaces; while Rotara runs, they move between workspaces instead.
With a trackpad swipe
Swipe left or right with the fingers you use for Spaces (three or four, as set in macOS). The switch pill follows your fingers, and the switch happens when you lift them past halfway. A quick flick switches too. Finger count and the on/off switch are in Settings → General → Trackpad.
From the menu bar
Click Rotara's icon in the menu bar and choose a workspace.
The switch pill
Every switch shows a small pill at the bottom of the screen with the workspace's number and name. It fades after about a second and a half, or at once when you click.
Where windows go
New windows join the workspace you're in
A window you open lands in the current workspace, in front. Rotara never asks where it should go, and never moves a window on its own. If it belongs somewhere else, move it later.
One exception: a dialog that pops up while its app is in the background goes to that app's workspace, not the one you're in.
Make an app always open in one workspace
Some apps only ever belong to one project. Give a workspace apps of its own, and every new window of those apps opens there, wherever you are. Windows you already have stay where they are.
To set it up, open Settings, then Workspaces, and click ⓘ on that workspace's row and use Add App under "Apps That Open Here". Or choose "Always Open [app] in [workspace]" in the menu bar menu while the app is in front. A script can do it with rotara://assign.
If you opened the app yourself, Rotara takes you to that workspace. If it opened in the background, its window goes there quietly and you stay where you are. A window you move by hand stays where you put it. A pinned app can't have a workspace, and an app belongs to one workspace at a time. Deleting a workspace forgets its apps.
A Dock click opens a new window here
Click an app in the Dock when it has no window in this workspace, and a new window of it opens right here. Its windows in other workspaces stay where they are. The same goes for opening an app from Spotlight, Raycast or open -a in Terminal.
Rotara uses the app's own New Window command (or New Document). Apps without one, such as Spotify, Calculator or Messages, take you to the workspace their window is in instead. To bring such an app here, Shift-click it.
Shift-click a Dock icon to bring a one-window app here
⇧ click its Dock icon
When an app's only window is in another workspace, Shift-clicking its Dock icon moves that window into this workspace. An app with several windows, or none, treats Shift-click as a plain click.
Going to a window in another workspace takes you there
If you go to a window that lives in another workspace, Rotara switches to that workspace, and the switch pill says where you are. This happens when you click a notification, choose the window from the app's Window menu, or use macOS's own ⌘ Tab switcher if you turned the app pie off. Web links do this too, unless you turn on Links open in the workspace you're in.
Closing or minimizing a window never takes you anywhere. You stay, and the next window here comes forward.
Moving windows
Which window moves
The window in front (the focused window). If the app in front has no window in this workspace, such as Rotara's Settings or the desktop, it's the window you used last here.
Move a window and go with it
⇧ click a workspace in the workspace pie
The window moves to that workspace and you follow it.
Send a window and stay
⌃⇧ click a workspace in the workspace pie
The window goes to that workspace and you stay where you are. Handy for moving several windows in a row.
Give a window a workspace of its own
⇧ click + in the workspace pie
Rotara makes a new workspace, moves the window into it and takes you there. The new workspace is named after what's in the window: a terminal's folder, an editor's project, a browser's site or page title, otherwise the app's name. It gets the next colour. ⌃⇧-click + to do the same and stay where you are.
How you see a move
After a move, the pill at the bottom of the screen reads "Moved [app] to [workspace]". When you go along with the window, a blue outline traces its edge once, so you can see which window it was.
Making, naming, ordering, deleting
Make a new workspace
- Workspace pie: click +. You get an empty workspace called "New Workspace" and go there.
- Menu bar: choose New Workspace…, type a name and click Create. Rotara switches to it.
- Settings → Workspaces: click New Workspace. It's added without switching, ready to name.
Rename a workspace
In the workspace pie, point at the workspace and click the pencil on it, or press Return. Type the name and press Return to save; Esc cancels and puts back the old name and colour. Clicking elsewhere saves, and so does opening any pie. Under the name is a row of colour dots. You can also click a name in Settings → Workspaces and type. If the name is taken, Rotara adds " 2".
Reorder workspaces
Drag a workspace around the workspace pie, or drag its ≡ handle in Settings → Workspaces. Numbers follow the new order, and colours stay with their workspace. Main always stays first.
Delete a workspace
In the workspace pie, point at the workspace and click the red ✕, or press ⌫.
- An empty workspace is deleted at once.
- A workspace with windows asks first: "Close N windows and delete?" Rotara presses each window's close button, so apps still ask you to save. A window that stays open moves to Main.
- Hold ⌥ as you click ✕, or press ⌥⌫, to delete the workspace and move its windows to Main instead. This asks first too.
To make the plain ✕ keep the windows, turn off Deleting a workspace closes its windows. Deleting from Settings → Workspaces always moves the windows to Main, and Delete All… there deletes every workspace except Main the same way.
If you delete the workspace you're in, you go back to the workspace you were in before it.
Run a Shortcut when you switch
Each workspace can run one of your shortcuts from the Shortcuts app every time you switch to it.
- Make the shortcut in the Shortcuts app.
- Open Settings → Workspaces.
- Click ⓘ on the workspace's row and choose the shortcut next to Run Shortcut. It says None until you pick one.
What the shortcut gets
The shortcut runs in the background right after the switch, so it never slows the switch down. It gets the workspace's name as its input (Shortcut Input), so one shortcut can serve several workspaces with an If action. If the shortcut is missing or fails, Rotara skips it.
Ideas
- Focus: use the Set Focus action to turn on a Focus for that project, or Do Not Disturb.
- Wallpaper: use the Set Wallpaper action to give each project its own desktop picture.
- Dimming: use HazeOver's own Shortcuts actions to turn its dimming on in one project and off in the others.
Safari profiles
If you use Safari profiles, each workspace remembers the profile its Safari windows use. A new Safari window opened in that workspace, from the Dock or from a link, opens in the same profile. With no profile remembered yet, Safari uses its default.
Quits, restarts and crashes
Quitting Rotara
When Rotara quits or crashes, every tucked-away or hidden window comes back on screen. When you open Rotara again, however much later, your workspaces come back with the windows that still exist. Windows you opened in the meantime join Main. Empty workspaces come back too: only you delete a workspace.
Restarting your Mac
Your workspaces survive a restart, a crash or a forced power-off when macOS reopens your windows. Rotara matches each window to its workspace by app and title, then by position and size. Apps that reopen over the first few minutes after login still join their old workspaces. A window it can't match joins Main.
An app quitting and reopening
When an app quits and later reopens with its whole set of windows (two or more), each window goes back to its workspace. That covers app updates, crashes and quitting by accident. A single window or a few documents opened again stay where you opened them, like any new window. An app that restarts itself in the background with its one window, as many do to update, gets that window back in its workspace.
Rotara never closes your windows
The only time Rotara closes windows is when you delete a workspace with its windows, which always asks first.
More than one display
By default a switch changes every display at once, and tucked-away windows go to a corner of their own display. To switch each display on its own, like Spaces with "Displays have separate Spaces", see Each display switches on its own.