AeroSpace: `move-workspace-to-display next` doesn't' use all displays

Description

move-workspace-to-display next doesn’t cycle through all monitors and only switches between two.

Details

I have 3 monitors and whenever I need to move a workspace to a different monitor I have to perform the following actions:

  1. If I need to move workspace A to monitor 2 from monitor 1, I’ll do move-workspace-to-display next.
  2. If it worked. It’s done.
  3. If it didn’t work and instead moved to monitor 3. I’ll do move-workspace-to-display next again. It moves the workspace back to monitor 1.
  4. I go to a workspace on the monitor 2 and move it to the other one.
  5. I go back to a workspace A and do move-workspace-to-display next and it works.

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

I changed the documentation, now it should be better https://github.com/nikitabobko/AeroSpace/commit/a193cd8446af7bca1b97349cfaeb06bae7fe06d2

But also, I needed to be more specific about the monitors since the built-in and secondary got mixed up since my main is set on external display.

@mike1808 sanity check: it’s the quirk of your setup, it’s not an AeroSpace bug, right?

@mike1808 Try the following:

[workspace-to-monitor-force-assignment] 0 = ‘built-in’ 1 = ‘secondary’ 2 = ‘secondary’ and so on…

Basically you have to remove the “workspace_name_” prefix.

the text on the left should be the actual name of the workspace, which is most cases is 1,2,3,4…

Maybe the documentation could make it clearer. I had the same issue, before I figured this out.

Actually, it’s really easy to release a fix update

I just published a 0.4.3-Beta. It contains the fix for this bug