A macOS menu bar utility to quickly swap your dual-monitor arrangement between two positions.
When working at a desk with a laptop and an ultrawide monitor, you might switch positions:
- Desk: Laptop in front, ultrawide to the right
- Easy Chair: Sitting on the other side, monitors are flipped
This app lets you toggle between these layouts with a single click.
- macOS 12.0+
- displayplacer - Install via Homebrew:
brew install jakehilborn/jakehilborn/displayplacer
# Compile the app
swiftc -O -o MonitorSwap.app/Contents/MacOS/MonitorSwap main.swift -framework Cocoa
# Install to Applications
cp -R MonitorSwap.app /Applications/
# Launch
open /Applications/MonitorSwap.appswift generate_icon.swift
iconutil -c icns MonitorSwap.iconset -o MonitorSwap.app/Contents/Resources/AppIcon.icns| Action | Method |
|---|---|
| Toggle position | Click menu bar icon |
| Desk mode | ⌘D |
| Easy Chair mode | ⌘E |
| Quick swap | ⌘S |
Menu bar icons:
- 🖥️ = Desk (ultrawide on RIGHT)
- 🪑 = Easy Chair (ultrawide on LEFT)
Edit main.swift to customize your monitor positions. The key values are:
// Your display IDs from `displayplacer list`
let macbookID = "YOUR-MACBOOK-ID"
let ultrawideID = "YOUR-ULTRAWIDE-ID"
// Position configurations - adjust origin coordinates
// Positive X = right of laptop, Negative X = left of laptop
// Negative Y = above laptop's bottom edgeRun displayplacer list to get your display IDs and current coordinates.
The app can be added to login items:
osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/MonitorSwap.app", hidden:false}'MIT