SpaceNamer
Name your macOS Spaces and move between them instantly.
macOS calls every desktop "Desktop 1", "Desktop 2", … and renumbers them whenever you add,
remove or reorder one. SpaceNamer lets you give each desktop a real name that stays with it,
shows that name wherever you look for it, and switches desktops without the slide animation.
It runs as a small menu bar app on macOS 13 Ventura and later (Apple silicon and Intel). It
needs Accessibility access, and nothing more: System Integrity Protection stays on, nothing
is injected into other apps, and no system files are modified.
Features
- Names that stick. Each name is tied to the Space itself, not its position, so it follows
the desktop when you reorder desktops in Mission Control, and is forgotten only when that
desktop is closed.
- Names in Mission Control. The names appear in Mission Control's Spaces bar in place of
"Desktop N", and move with the bar as it opens, closes, expands into previews and rearranges.
- Menu bar. Shows the current Space's name (or number), changing the moment a switch
starts, with a menu to rename it or jump to any other. With a menu bar on each display, each
one names the Space on its own display.
- Instant switching. Jump straight to any desktop without the slide animation.
- Switcher. Press ⌃⌥Space for a searchable list of your Spaces: type a few letters, press
Return to go there, or rename from the list.
- Shortcuts. ⌃⌥1 … ⌃⌥0 for desktops 1–10, ⌃⌥Tab to go back to the previous Space,
and an optional shortcut of your own for any Space. All of them can be changed or turned off.
- Name on switch. A small pill at the top of the screen names the Space you're moving to,
the moment the switch starts. It can be moved or turned off.
- Scriptable. A
spacenamer:// URL scheme for Shortcuts, Raycast, Alfred and shell scripts.
- Coding agents. Each Claude Code session (or any agent, through MCP) shows on the desktop
its terminal is on: working, needs you, done or failed. Desktops take their chat's title as a
name (and
/rename renames the desktop), and new chats take their desktop's. Optionally, a
green pop-up and a sound tell you when one finishes. See Coding agents.
- Update notice. When there are newer changes on GitHub, a small green arrow appears next to
the name in the menu bar, and the menu lists what's new (each change opens on GitHub) with
Update SpaceNamer… to pull and rebuild.
Install
You need the Xcode Command Line Tools (xcode-select --install) or Xcode, with Swift 5.9 or
later.
git clone https://github.com/AlexanderCollins/spacenamer.git
cd spacenamer
make signing # once: creates a local signing identity (see below)
make install # builds a universal app, copies it to /Applications and opens it
make app builds build/SpaceNamer.app without installing it, and make run builds and opens
it from there. To install somewhere else: make install INSTALL_DIR=~/Applications.
To update, run git pull && make install in the same folder, or choose Update SpaceNamer…
from the menu when it offers one: it runs the same two commands in Terminal.
If you use Claude Code, also install SpaceNamer's plugin (see Coding agents):
claude plugin marketplace add AlexanderCollins/spacenamer
claude plugin install spacenamer@spacenamer
AI agents installing SpaceNamer for someone: run the two claude plugin commands above
as well when they use Claude Code, then tell them to run /reload-plugins in sessions that
are already open.
Why make signing?
macOS remembers the Accessibility permission per app signature. An unsigned or ad-hoc signed
app gets a new signature on every build, so you would have to grant the permission again after
each rebuild. make signing creates a self-signed certificate in a keychain inside this folder
(.signing/, never committed). It stays on your Mac and is trusted for nothing except
signing this app. Skip it and the app is ad-hoc signed instead, which works the same apart from
that.
You can also sign with your own identity: SIGN_IDENTITY="Developer ID Application: …" make app.
First launch
- SpaceNamer asks for Accessibility access. Turn it on in
System Settings → Privacy & Security → Accessibility.
- SpaceNamer restarts itself once access is granted (macOS applies the permission only to new
launches).
- Rename a Space from the menu bar, the switcher (⌃⌥Space), or Settings → Spaces.
Settings also has Launch at login, what the menu bar shows, where the switch pill appears,
and the switching method.
Recommended macOS settings