Warning
This project is archived and no longer maintained.
All functionality has been merged into agentpong, which now includes Aerospace configuration management alongside its other features. Please refer to agentpong for the latest updates and continued development.
- One-command setup - Install all Aerospace configs, scripts, and Alfred workflow
- Cursor window management - Organize Cursor projects into numbered workspaces with
alt+s - Alfred integration - Browse all repos and switch or open Cursor projects with
alt+p - Project priorities - Define which projects get lower workspace numbers
- Cross-platform paths - Auto-detects Homebrew location (Apple Silicon or Intel)
# Install Aerospace (tiling window manager)
brew install nikitabobko/tap/aerospace
# Alfred 5 required for project switcher workflowgit clone https://github.com/tsilva/aerospace-setup.git
cd aerospace-setup
./install.shThe installer will:
- Check for Aerospace and Alfred
- Copy
aerospace.tomlto~/.aerospace.toml - Install helper scripts to
~/.config/aerospace/ - Set up Alfred workflow for project switching
- Reload Aerospace configuration
| Keybinding | Action |
|---|---|
alt+1-9 |
Switch to workspace 1-9 |
alt+shift+1-9 |
Move window to workspace 1-9 |
alt+β/β |
Previous/next workspace |
alt+s |
Organize Cursor windows by priority |
alt+p |
Open Alfred project switcher (p keyword) |
alt+f |
Toggle fullscreen |
alt+c |
Quick capture (requires capture) |
aerospace-setup/
βββ install.sh # Main installer
βββ uninstall.sh # Cleanup script
βββ config/
β βββ aerospace.toml # Aerospace configuration
β βββ cursor-projects.txt.example # Project priority template
βββ scripts/
β βββ aerospace-fix-cursor.sh # Organize Cursor windows
β βββ list-all-repos.sh # Alfred script filter (all repos)
β βββ list-cursor-windows.sh # List open Cursor windows
β βββ focus-window.sh # Focus or open project (Alfred)
βββ alfred/
βββ cursor-project-switcher/
βββ info.plist # Alfred project switcher workflow
Edit ~/.config/aerospace/cursor-projects.txt to set your project priority order:
my-main-project
side-project
experiments
Projects listed first get lower workspace numbers (starting at workspace 2). Projects not listed are assigned to subsequent workspaces alphabetically.
Apps are automatically moved to workspace 1:
- Chrome, Obsidian, ChatGPT, Claude, Sublime Text, WhatsApp
Edit ~/.aerospace.toml to customize.
If you use capture for quick note-taking, the installer will detect it and offer to enable the alt+c keybinding. This lets you capture thoughts instantly while working in any workspace.
The keybinding is commented out by default in ~/.aerospace.toml. The installer will uncomment it if capture is detected, or you can enable it manually:
alt-c = 'exec-and-forget ~/.config/capture/alfred-search.sh c'./uninstall.shRemoves all installed files. Aerospace itself is not uninstalled.
MIT
