A minimalist macOS menu bar app for focus and flow.
Zen lives quietly in your menu bar, syncing with your calendar to automatically manage focus modes when meetings begin and end. No more manual toggling—just seamless transitions between focused work and collaboration.
- Calendar Sync — Connects to Google Calendar to fetch upcoming events
- Automatic Focus — Triggers focus mode when meetings start, releases when they end
- Shortcuts Integration — Works with Siri, Spotlight, and the Shortcuts app
- Zen Aesthetic — Calming ink wash visuals with breathing animations
Zen monitors your calendar in the background. When a meeting begins, it automatically activates your system Focus Mode. When the meeting ends, focus is released. You can also manually toggle focus with the "Begin Zen" button.
Zen's actions automatically appear in:
- Shortcuts app — Search "Zen" or "Set Focus Mode"
- Siri — "Set Work focus"
- Spotlight — Type "Set Focus Mode"
Apple doesn't allow apps to directly control Focus Modes. Create these simple shortcuts:
- Open Shortcuts app
- Create shortcuts named exactly:
Zen Mode OnZen Mode Off
- Each shortcut has one action: Set Focus to your preferred focus mode (or turn it off)
git clone https://github.com/katiawheeler/zen.git
cd zenCopy the example config and add your credentials:
cp Sources/Zen/Config.example.swift Sources/Zen/Config.swiftEdit Sources/Zen/Config.swift with your Google Cloud Console credentials:
- Create a project at Google Cloud Console
- Enable the Google Calendar API
- Create OAuth 2.0 credentials for an iOS app
- Add the client ID and redirect URI to Config.swift
swift build
swift runOr open Zen.xcodeproj in Xcode and run from there.
The app appears in your menu bar with a leaf icon. The dock icon is hidden automatically.
Sources/Zen/
├── ZenApp.swift # App entry point
├── Config.swift # OAuth credentials (gitignored)
├── Views/
│ ├── MainView.swift # Primary menu bar interface
│ └── SettingsView.swift # Settings and account management
├── Managers/
│ ├── GoogleAuthManager.swift # OAuth flow
│ ├── CalendarManager.swift # Calendar sync
│ └── FocusManager.swift # Focus mode control & automation
└── AppIntents/
├── SetFocusModeIntent.swift # Shortcuts integration
└── ZenShortcuts.swift # App shortcuts provider
MIT