Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's just the difference between a depth=2 tree and a flat list. What's better depends on your access patterns, but at least semantically, the tree makes a lot more sense to me.


I just wish "spaces" worked like xmonad workspaces [0], specifically that in xmonad there are some number of workspaces (9 by default) and each display is a view into _any_ of those. Macos has a checkbox "Displays have separate Spaces", and neither checked nor unchecked gives the behavior I want.

Let's say I have just two monitors. That box being checked means I have spaces A1 A2 .. An and B1 B2 .. Bn, and monitor A can display any of the "A" spaces and monitor B can display any of the "B" spaces. But if I want everything from B2 to get displayed on monitor A, I have to create a new space An+1 and drag everything over one window at a time, like a cave man.

Unchecked means I have spaces AB1 AB2 .. ABn, and switching spaces switches both monitors at the same time! So if I want to see the A side of AB1 and the B side of AB2 at the same time, I'm out of luck.

Xmonad workspaces allow me to do any of the above behaviors (oh, and it switches workspaces instantaneously, instead of this left/right spatial thing macos insists on, I guess because of the trackpad swipe gestures). One of these days I need to try to make Hammerspoon fake workspaces in a way that works for me, because (like the OP) this is by far the least comfortable thing about working in macos for me.

[0] https://xmonad.org/tour.html#using-other-workspaces


Yeah this works because of indexed access. The tradeoff is you get a limited number of spaces, and you require a much larger key binding surface area. Like how indexes take memory.

If your state is A1/B2 (two monitors A and B displaying spaces 1 and 2 respectively), and you're working in A1 and want to switch B2 to B3, how do you "focus" on display B before moving spaces to B3? If you just press mod-3 I assume you'd get A3/B2. Do you have to alt-tab until you focus a window that is currently in B and then mod-3?


In my xmonad setup only one window (and thus screen) has the focus, so I would need to hit the key that switches focus to my B monitor (for me that's Mod4+e, B monitor is Mod4+q) and then Mod4+3.

True about indexed access; some other window managers have natively built in "tagged workspaces" where windows have tags and the "chat workspace" is just "all windows that have the chat tag". You can (probably? I've never used them) bind numbers to tags permanently or temporarily but you wouldn't be limited to 0-9. I never bothered trying to copy that setup in xmonad because I never used more than 5 or 7 workspaces.


> But if I want everything from B2 to get displayed on monitor A, I have to create a new space An+1 and drag everything over one window at a time, like a cave man.

That's...not true, though? Unless I'm misunderstanding what you're after...

When you activate Mission Control (not sure offhand what the default shortcut is; I have mine set to Ctrl-Up, but I might have customized it), you can drag entire spaces between monitors. I do this regularly.


Ah, I had no idea you could do that. I don't generally use the expose / mission control swipe gestures. ... Actually I just realized I haven't bothered using spaces in years (since before Catalina I think), maybe I should try again. Thanks!


You can drag whole screens from one monitor to the next. Open command center and then just drag the whole screen over in the top bar.

For me it's a two-finger double tap on the mouse (I think--not at my computer at the moment.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: