Hacker News new | ask | show | jobs
by idle_zealot 1254 days ago
I had not heard of Phoenix, and it looks interesting. Though I doubt I would be able to do a better job of reimplementing sway/i3 in Javascript than the folks working on yabai have managed.
1 comments

So, you don't have to. Check out that spin2win "example" I linked, it's really less of an example and more of a pretty fleshed out implementation of XMonad. I don't really know javascript/TS at all and I was able to get it running with a few tweaks in 20 minutes or so. Phoenix is super intuitive.

I'll admit it is a little bit janky (which the author admits/warns about). But it seriously does work better than yabai. This config (using Phoenix) basically abandons the native "Spaces" functionality and does everything by just maintaining an internal window state and moving windows around fast. So you don't have to disable SIP (a big thing for me, since I want to use this at work). I'm seriously kind of blown away, this is miles better than apps that people are paying for, and it was just sitting here in this guy's github fork.

It is super disappointing this is the best that Mac can do though. There is no reason there shouldn't be a mostly-native (ie, less janky) tiling wm solution on the platform.

Well that's the thing, I don't want an xmonad replacement; I'm not a fan of automatic tiling. I much prefer manual tiling a la i3. I looked through the Phoenix examples and didn't find something that worked how I wanted, so I'd be left implementing it myself. The reimplementation of Spaces by hiding/unhiding windows does sound like a nice trick that Amethyst and yabai should adopt though.