I'm trying to configure a shortcut that would move all spaces on external displays to the main display. The closest to what I'm after that I'm seeing is the "Move & maximise all windows to mouse display" – but that doesn't quite do what I want. I have two external displays connected to my macbook, so three displays total. Each display has several spaces open with different windows. I'd love to preserve the way windows are distributed across spaces, and simply move all spaces (except for one, because obviously each display needs at least one space) to the main (laptop) display. Has anyone figured out how to achieve this?
unfortunately on macOS Sequoia there are no API's left that can move windows across spaces anymore.
that's a bummer ...