koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
23.31k stars 642 forks source link

Assigning spaces to monitors #2329

Open DieracDelta opened 3 months ago

DieracDelta commented 3 months ago

I'm coming from aerospace, and trying to replicate its multimonitor behavior. In aerospace, once can assign workspaces to monitors if those monitors exist. That is, I can start with all my workspaces on one monitor. Then, I can connect a monitor and automatically have some of those workspaces be moved to the monitor based on user-defined rules. Finally I can remove the monitor and have those workspaces return to my first monitor. Is this possible with yabai?

Let me say that I'm aware of #1225, and this doesn't do what I'm describing. The moving seems manual (sure, also perhaps scriptable). But the workspace assignment doesn't seem to be preserved when I dynamically connect and disconnect monitors.

jacktuck commented 3 weeks ago

Out of interest why are you moving away from aerospace?

DieracDelta commented 3 weeks ago

This issue is a show stopper for me, so I'm still (very) happy with aerospace. The main appealing thing for yabai is that it integrates natively with macos workspaces, which fixes the sporadic lag I encounter between keyboard shortcuts for changing workspaces and actually changing workspaces.

brymon68 commented 5 days ago

The primary motivation for me is disablement of SIP. Most users on a corporate managed device won't (and probably shouldn't) have the ability to disable SIP. The lag in aerospace's is a decent trade off imo