Wiki / concepts / wiki

App-pinned spaces

Give each app a home virtual desktop, so a shortcut for the app always lands in the right space. mehdio's case is that developers need more spaces, not more screens.

How mehdio sets it up with yabai and skhd:

  • a script creates a fixed set of labelled spaces (web, code, notion, messaging and so on), about seven on one screen and two more when a second screen is connected
  • a rule pins each app to a space, so VS Code always opens in space three
  • with Mission Control's "switch to a Space with open windows" on, an app's shortcut also switches to its space
  • shift-alt plus a number sends the focused window to a space, including one on the other screen
  • sketchybar shows which apps sit in which space

mehdio never got productive with native macOS Spaces, for two reasons: you lose track of where each app is, and Control-arrow switching is slow.

Source: report

Linked from

mehdioTiling window manageryabai