Live data from Hacker News

Yabai – A tiling window manager for macOS

github.com

171–180 of 223 posts

Re: Yabai – A tiling window manager for macOS

#172
post #114

Earlier quoted context omitted.

One thing I really don't like about rectangle (and maybe MacOS in general) is that you can't easily multi-key hotkeys with regular keys. So for example CMD + Right Arrow + Up Arrow for upper-right tiling. This is simple/trivial with PowerToys on windows. But you can use Karabiner Elements to create a simulation of this using keypress delays. I use Karabiner + BetterTouchTools to accomplish the same functionality sinc…

Doesn't this always force delays? If I have CMD + Right Arrow assigned to some other function, the system will have to wait to make sure the Up Arrow isn't coming soon before dispatching the Right Arrow function. Of course we want the delay short, but that makes the multi-key shortcut less reliable. I haven't tried it, but the tradeoffs don't sound great to me. Only allowing multiple modifier keys avoids all of these…

It does force delays and your concerns are legitimate. All I will say is that in practice I've never actually noticed any kind of conflict or problem when the delay is on the order of 500ms.

Re: Yabai – A tiling window manager for macOS

#173
post #52
post #13

Earlier quoted context omitted.

Have you heard of Phoenix [1]? It seems relatively unknown but I actually found it to work better than Yabai in some ways. The gist is that it basically simulates a tiling wm and virtual desktops by internally tracking state. This also means it doesn't suffer from window animation delays when you switch "desktops" (since "desktops" are just hiding/unhiding windows). It's also highly hackable/extensible being written…

Does this allow using the mouse? Maybe not common amongst tiling window users but I like to just drag a window over another to swap them or resize one window from the frame and have the other tiles adjust accordingly. So far it seems only Amethyst and Yabai do this, but if Phoenix internally tracks the states of windows (position, etc.) then this should be feasible to write code for without relying on Mac's windowing…

Yeah if I recall correctly there is support for the mouse and doing all the kinds of things you usually use mouse for in tiling wm setups.

Re: Yabai – A tiling window manager for macOS

#174
post #166
post #68

Why wouldn't apple allow to remove all animations when switching desktops, without disabling SIP? https://apple.stackexchange.com/questions/434555/can-you-com... Native keyboard shortcuts are there for all to use to switch desktops, but the fading in/out animations that last around 1s completely prevent fast desktop switches as is so useful in i3/sway.

You might want to check out AeroSpace :) https://github.com/nikitabobko/AeroSpace AeroSpace reimplements workspaces by emulating them. https://github.com/nikitabobko/AeroSpace/blob/main/docs/guid... The result is that workspace switching is instant, and disabling SIP is not required Note: I'm the author of AeroSpace

This is awesome.

Re: Yabai – A tiling window manager for macOS

#175
post #28

I like rectangle [0]. It fits my needs well enough without requiring disabling SIP. I especially like the “repeated key presses resize a window on the same side” feature, so I can get cycle the size of the window on the right side of the screen from 1/2->1/3->2/3 easily. I miss i3 sometimes and this ain’t an identical replacement but it gets the job done! Turns out I don’t move my windows all that often anyways. [0]:…

Raycast does the same, but I don't like it.

I like to have margins between my windows, so almost all window tiling / snapping managers just make me feel cramped.

Re: Yabai – A tiling window manager for macOS

#176
post #28

I like rectangle [0]. It fits my needs well enough without requiring disabling SIP. I especially like the “repeated key presses resize a window on the same side” feature, so I can get cycle the size of the window on the right side of the screen from 1/2->1/3->2/3 easily. I miss i3 sometimes and this ain’t an identical replacement but it gets the job done! Turns out I don’t move my windows all that often anyways. [0]:…

Second this! I am using rectangle pro and it's fantastic.

Re: Yabai – A tiling window manager for macOS

#177

Funny to see this at the top of HN after just having uninstalled Yabai. I used Yabai for about 6 weeks. I was so thrilled about having a proper tiling window manager for Mac. I invested a lot of time setting up skhd and fine-tuning my configuration for the most intuitive hotkeys. The problem ultimately, however, is that Yabai just doesn't work well enough. It'll regularly just lose track of windows altogether, which…

After trying yabai, Amethyst, and many others, I landed on hammerspoon.org + https://github.com/miromannino/miro-windows-manager a few years ago and haven't looked back. I couldn't live on a Mac without hammerspoon tbh.

Yeah I'm using hammerspoon & miro too with this basic binding:

```

hs.window.animationDuration = 0.2 spoon.MiroWindowsManager:bindHotkeys({ up = {hyper, "up"}, right = {hyper, "right"}, down = {hyper, "down"}, left = {hyper, "left"}, fullscreen = {hyper, "f"} })

```

Works well enough for years.

Re: Yabai – A tiling window manager for macOS

#178
post #28

I like rectangle [0]. It fits my needs well enough without requiring disabling SIP. I especially like the “repeated key presses resize a window on the same side” feature, so I can get cycle the size of the window on the right side of the screen from 1/2->1/3->2/3 easily. I miss i3 sometimes and this ain’t an identical replacement but it gets the job done! Turns out I don’t move my windows all that often anyways. [0]:…

[deleted]

Re: Yabai – A tiling window manager for macOS

#179
post #122

Earlier quoted context omitted.

If you don't mind me asking, what are the warts? I'm always interested in improving the app.

Rectangle Pro user here -- biggest frustration I've had is configuration. While the GUI is nice for seeing all the options and some basic stuff, when it comes to actually configuring App Layouts it's been a nightmare of clicking around. I went so far as to export my config so I could modify it with a text editor and then re-import it but the config itself includes serialized JSON as values so to accomplish what I wan…

Thanks for the feedback! I agree and have had some ideas for improving this - one of them being copy/paste and drag behavior where you could copy a selection in Rectangle Pro and paste it as prettified JSON in an editor, and vice-versa. The dot file idea is also one that I like - it's just a surprisingly large effort to "do it right". Making UI's for representing this complexity is kind of tricky, and what's there now is actually my first cut - something that I figured I would iterate on but haven't gotten the time together to do it.

Re: Yabai – A tiling window manager for macOS

#180
post #153
post #131

Earlier quoted context omitted.

Is Asahi your daily driver on MBP?

Yes, absolutely. Asahilinux >> MacOS It's wonderful to use the M2 with incredible battery life and performance without having to have a subpar OS.

Can I ask: is setting up dual-boot trivial? I’d love to check it out but can’t ditch MacOS entirely.
Post reply on HN