The 3-Step Focus System to Avoid Context Switching on macOS

Stop Getting Yanked Around by Your Mac: A 3-Step System to Kill Context Switching
You sit down to write, and three minutes later you’re deep in a Slack thread, with Mail nudging your menu bar like a needy cat. macOS is amazing, but it’s also a slot machine for your attention. If you have an ADHD brain, those micro-pulls are not small; they’re derailments with a recovery cost.
We need a system that protects focus without demanding monk-like willpower. Here’s the big picture, the framework, and the daily playbook that actually sticks.
Why This Happens
Our brains love completion and novelty. Every badge, bouncing dock icon, or menu bar counter promises a quick dopamine hit. ADHD brains are especially sensitive to salience, so visual noise becomes a priority queue. On macOS, the defaults make it worse: global shortcuts fire apps you didn’t intend to open, Spotlight recalls the last 50 things you used, and notifications stack in Notification Center like a buffet.
The real culprit isn’t just notifications; it’s frictionless context switching. Spaces let you leave 9 desktop contexts open, each with 5 windows. Command-Tab cycles a carousel of temptation. Files are “almost done” in three apps, and Handoff puts your iPhone’s distractions on your Mac. You’re not failing; your environment is. The fix is not more willpower. It's controlling the entry points, constraining the workspace, and structuring time blocks that match how ADHD brains ramp and sustain attention.
The Fix
We’ll use a three-step framework: Gate, Group, Guard. Gate limits what can reach you. Group creates single-context work areas. Guard enforces time and re-entry boundaries.
- Gate: Control the inputs at the OS level
- Nuke badges and bounces: System Settings > Notifications > turn off badges for Mail, Messages, Slack. In Dock & Menu Bar, disable “Animate opening applications” and “Show suggested and recent apps.” ADHD brains chase red dots; remove the dots.
- Create Focus Modes with calendars: System Settings > Focus. Make modes like Deep Writing, Design, Research. For each, allow only people/apps you truly need (e.g., Zoom for meetings, not Slack). Tie each Focus to a calendar schedule (e.g., weekdays 9:30–11:30 Deep Writing).
- Silence the menu bar: Hide menu bar items you don’t need during focus. Many apps allow “Hide in menu bar” in preferences; for the rest, use the built-in Control Center toggles. The goal is a quiet skyline.
- Tame global shortcuts: Disable or remap common hijackers (e.g., Control-Command-Space for emoji popping mid-flow). System Settings > Keyboard > Keyboard Shortcuts. Keep only the shortcuts you use intentionally in your focus stack (e.g., Command-Shift-5 for screenshots if relevant).
- Redirect quick-search: Spotlight can become a rabbit hole. Create custom Spotlight exclusions (System Settings > Siri & Spotlight > uncheck categories you don’t need while working, like “Messages” and “Events & Reminders”). You can toggle these per Focus using automation apps or Shortcuts.
- Group: Build single-context workspaces that launch cleanly
- One Space per mode: Create a dedicated macOS Space for each core work type: Writing, Comms, Admin, Build. Don’t mix. Assign wallpapers to visually cue context. In Mission Control, disable “Automatically rearrange Spaces” so muscle memory sticks.
- Pin the minimum viable app set: For Writing: one browser window with a “writing” profile (separate from general browsing), your editor (Ulysses, iA Writer, Obsidian), and a local reference app (DevonThink or PDF Expert). For Comms: Slack, Mail, Calendar. For Build: IDE, docs, terminal. Keep only two or three apps visible.
- Use per-app profiles: In Chrome/Arc/Safari, create a “Work—Writing” profile with extensions disabled except grammar tools, and a separate “Work—Research” profile with your clipping and tabs. Profiles wall off tab sprawl and logins.
- Save window states: Use a lightweight tiling setup with built-in Stage Manager or shortcuts via Shortcuts app. Example: a shortcut that arranges Obsidian left 70%, Safari right 30%, full screen, open to today’s daily note. Trigger it with a keyboard shortcut only when in the Writing Space.
- One document on deck: In each workspace, default-open exactly one file. For Writing, open “Today.md.” For Comms, open your “Action—Comms” note. For Build, open the current project’s README or task file. The brain needs a landing pad.
- Guard: Time-box and re-entry rules
- Use entry rituals: When you enter a Space, run a 30-second checklist: set Focus Mode, run window layout shortcut, open the one file, start a 25-40 minute timer. ADHD brains benefit from immediate friction: the timer is your boundary.
- Set explicit escape valves: Park a Quick Capture anywhere you are: a global hotkey to append to “Inbox.md” in Obsidian or Apple Notes Quick Note (Fn-Q). If a thought pops, capture it without switching contexts. You’re guarding the door by providing a mailbox.
- Pre-commit exit actions: At the end of a block, write a one-line “next action” at the top of the file, then close it. If you must switch Spaces, use a “hand-off note” that states: “Next in Writing: draft intro; open Outline.md.” This shrinks re-entry friction later.
- Batch communications: Give Comms its own Space and two windows a day, 20-30 minutes each. Keep VIP filters for true emergencies (mail rules that move only boss/client to VIP). If Slack must be open, set “Pause notifications until” to auto-resume after the block.
- Deadman switches: Use automation to revert you back. Example: If you leave the Writing Space and open a non-allowed app during a Deep Focus, trigger a notification that says “Return to Writing Space?” with a single button. If no action in 15 seconds, auto-switch back.
Concrete example day:
- 9:25: Enter Writing Space, Deep Writing Focus on. Layout shortcut opens Obsidian + Safari (research profile). Timer: 40 minutes. Quick Capture hotkey set to Inbox.md.
- 10:10: End block, jot “Next: tighten intro, add stat.” Close file. Break: 10 minutes.
- 10:20: Comms Space, Focus switches to Communication. Process VIP Mail, triage Slack using “mark unread” and two-sentence replies. Create follow-ups in Tasks note, not in Slack reminders.
- 10:45: Build Space, start IDE layout, 50-minute timer. Notes docked. If tempted to Google, capture the question first, then batch search during a scheduled 10-minute research slot.
Making It Stick
Systems fail where friction lives. Put your setup behind one button. Use Shortcuts to bundle: set Focus Mode, switch Space, open apps, arrange windows, start timer. Map this to a single hardware key (e.g., Caps Lock via Karabiner-Elements) cycling your three core modes. Add automatic context guards: when Deep Writing starts, hide Mail and Slack, disable badges, set Safari to the “writing” profile, and mute menu bar extras.
For ADHD, re-entry is everything. Keep a stable “Today” file that your shortcuts always open first. Always leave a one-line next step. If you want a prebuilt layer that does app-allowlists, context switching, timers, and minimal HUDs without tinkering, Notchable wraps these behaviors into a single-focus workflow on macOS (spaces, blocks, and app gating) so you don’t have to glue it together yourself.
Download Notchable