Skip to content
anomalycoPublic

About

A macOS tiling window manager with stable logical windows

Topics

Resources

Contributing

Security policy

Stars

710 stars

Watchers

1 watching

Forks

Repository files navigation

Spaceman

Spaceman is a native macOS tiling window manager for Apple silicon built around stable logical windows. Selecting a native tab in Ghostty, Safari, Finder, or Terminal replaces its underlying Accessibility window in place without creating a new tile, and Spaceman runs with standard Accessibility permission, no SIP changes, no Screen Recording, no telemetry, and durable off-screen window recovery.

Website · Download for Apple silicon · SHA-256

Warning

Disable AeroSpace (aerospace enable off), yabai, Amethyst, and any other window manager before opening Spaceman so two managers do not move the same windows. Keep Spaceman's state directory intact until Spaceman has paused or quit and restored every parked window.

Install

Homebrew

brew install --cask anomalyco/tap/spaceman
open /Applications/Spaceman.app

Installing anomalyco/tap/spaceman (or brew install --cask anomaly-spaceman from Homebrew Cask) places Spaceman.app in /Applications and links spaceman into $(brew --prefix)/bin/spaceman. Do not run bare brew install --cask spaceman, which installs an unrelated menu-bar Spaces utility.

Direct Download

Download the notarized Apple silicon build from anoma.ly/spaceman, or install it from Terminal:

curl -fL https://anoma.ly/spaceman/download/macos-arm64 -o /tmp/Spaceman.zip \
  && ditto -x -k /tmp/Spaceman.zip /Applications && open /Applications/Spaceman.app

Optionally verify /tmp/Spaceman.zip against its SHA-256 checksum first, and link the bundled CLI into PATH:

mkdir -p "$HOME/.local/bin"
ln -sf "/Applications/Spaceman.app/Contents/MacOS/spaceman" "$HOME/.local/bin/spaceman"

Release builds update themselves from Anomaly's release service when you choose Install & restart or quit, restoring every parked window before swapping the app bundle.

Build From Source

Building from source requires Xcode command-line tools, Rust 1.100.0, and your own Developer ID Application signing identity (downloaded releases are already signed and notarized, so artifact users never need a Developer ID identity):

./scripts/install-app.sh

install-app.sh builds and signs target/Spaceman.app, installs /Applications/Spaceman.app, links ~/.local/bin/spaceman, and opens the app. Set SPACEMAN_CODESIGN_IDENTITY if multiple signing identities are installed.

Quickstart

On a fresh install without Accessibility access, Spaceman opens its setup tour so you can grant Accessibility permission in System Settings › Privacy & Security, preview or adjust a title-free workspace layout for your open windows, and start tiling with Arrange & start. Once Accessibility permission and global shortcuts are available, automatic tiling starts at launch.

Shortcut Action
⌥1 … ⌥9, ⌥0 Switch to workspace 1 … 10 (repeat on the focused workspace to cycle tiles)
⌥⇧1 … ⌥⇧9, ⌥⇧0 Move the focused window to workspace 1 … 10
⌥A … ⌥Z / ⌥⇧A … ⌥⇧Z Switch or move the focused window to an enabled named workspace
⌥Tab / ⌥⇧Tab Focus the previous workspace / move the focused workspace to the next display
⌥H ⌥J ⌥K ⌥L Focus left, down, up, or right (including across displays)
⌥⇧H ⌥⇧J ⌥⇧K ⌥⇧L Move or nest the focused tile in that direction
⌥` / ⌥⇧` Focus the next or previous window on the workspace (tiles, then floats)
⌥/ · ⌥- ⌥= Flip the root split axis · shrink or grow the focused tile by 50 pt
⌥⇧F · ⌥⇧Space Toggle workspace Fullscreen Layout · float or retile the focused window
3-finger swipe left/right Step to the next or previous occupied workspace on the display under the pointer

Every shortcut can be rebound in Settings › Shortcuts (⌘,) or [shortcuts] in config.toml, and Base modifier moves all built-in shortcuts at once (⌥, ⌃⌥, or ⌃⌥⌘). Trackpad swipes support 3 or 4 fingers (Workspace swipe in Settings › Shortcuts) and follow macOS Natural scrolling; set macOS's "Swipe between full-screen applications" to the other finger count or off so both do not fire together.

By default, workspaces 1–5 live on the main display and 6–10 on the secondary display (or set per_display_workspaces = true for independent 1–10 per display). New windows split in Dwindle or Columns order, small utilities such as Calculator and Stickies float automatically, and a non-activating Workspace HUD capsule shows workspace switches on each display (Icons or Layouts, bottom or top edge).

Spaceman reloads ~/Library/Application Support/Spaceman/config.toml live when edited in Settings, an editor, or the CLI (full annotated template in config.example.toml):

version = 1

[[workspaces]]
workspace = 2
launch = "com.tinyspeck.slackmacgap"

[[rules]]
bundle_id = "com.apple.Safari"
title_contains = "Work"
action = "route"
workspace = 3

Control the running agent or inspect state from Terminal:

spaceman ctl status
spaceman ctl switch 2
spaceman ctl move-tab 2
spaceman doctor 24
spaceman config-check "$HOME/Library/Application Support/Spaceman/config.toml"

Privacy & Safety

  • Uses standard macOS Accessibility APIs to observe, focus, move, and resize eligible normal-level windows (and to press the focused app's Move Tab to New Window menu item on move-tab), plus narrow private window-ID and SkyLight focus/hotkey symbols that work with System Integrity Protection enabled. Mac App Store distribution is not supported, and Screen Recording permission is never requested.
  • Keeps window titles and AXDocument paths out of logs, spaceman doctor, spaceman ctl debug, snapshots, the Workspace HUD, Window Overlay, and the ⌘Tab switcher. Multi-window apps store them only in local mode-0600 window-memory.json to match windows across restarts.
  • Sends no telemetry or analytics. Source builds make no network requests, and release builds connect only to https://anoma.ly/release/spaceman for SHA-256 and Developer ID-verified updates.
  • Records each inactive-workspace window's original frame in parked-windows.json before parking it off-screen, and removes that entry only after restoration is confirmed.

See Security and privacy and SECURITY.md for the full data model and vulnerability reporting.

Recover or Uninstall

Before removing Spaceman or its state directory, pause tiling and confirm that every parked window has returned on screen:

spaceman ctl pause
spaceman ctl status   # wait for "mode":"paused" and "busy":false
spaceman ctl quit

Once spaceman-agent has exited and your windows are back, uninstall via Homebrew (brew uninstall --cask anomalyco/tap/spaceman or anomaly-spaceman) or remove /Applications/Spaceman.app and ~/.local/bin/spaceman, and only then delete ~/Library/Application Support/Spaceman if desired.

Never delete parked-windows.json first when troubleshooting: it records where off-screen windows belong. If Spaceman crashed or exited after its 15-second quit timeout with windows still parked, reopen /Applications/Spaceman.app so startup recovery restores them; see Recovery and uninstall.

Documentation

  • Configuration: config.toml schema, window rules, workspace launch/display settings, gaps, shortcuts, and Labs
  • Controls: keyboard shortcuts, pointer drag/resize, trackpad swipes, Labs UI, menu bar, CLI, and spaceman:// deep links
  • Recovery and uninstall: pause, quit, crash recovery, spaceman doctor, and safe removal
  • Security and privacy: Accessibility scope, local state files, updater verification, and private APIs
  • Compatibility: macOS requirements, window eligibility, native tabs, and multi-display behavior
  • Known limitations: current preview status, macOS Spaces interactions, and configuration scope
  • Development: dev loop, scripts/check, dry-run probes, and isolated live harnesses
  • Releasing: CI release workflow, signing and notarization, and legacy Sparkle feed
  • Design system: Rune Settings tokens, layout rails, and headless scene verification

Contributing

We don't take pull requests. Open an issue describing the bug or idea, and our agents usually turn it around fast. Contributor invariants live in CONTRIBUTING.md and AGENTS.md.

License

MIT

About

A macOS tiling window manager with stable logical windows

Topics

Resources

Contributing

Security policy

Stars

710 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages