Live data from Hacker News

Yabai – A tiling window manager for macOS

github.com

201–210 of 223 posts

Re: Yabai – A tiling window manager for macOS

#201
post #39

Personally I've been so hooked to Raycast it's taken over my tiling manager needs too now.

I love Raycast for this too. For new and current Raycast users who haven't seen this capability, you have to enable the Window Management extension. https://www.raycast.com/extensions/window-management

Related, I was avoiding hotkeys in Raycast for a longtime but they help a lot: https://www.youtube.com/watch?v=VBgVaQscIWg

Re: Yabai – A tiling window manager for macOS

#202

In my personal experience, tiling window managers only work when you have a lot of screen real estate. I tried using yabai on a 13 inch m2 air, but I ended up going back to my normal workflow of just alt tabbing between windows. Most apps don’t let you see enough content when they are tiled (because of gui elements such as sidebar etc). I do love the “focus on hover” feature of yabai though. I wish macOS had that nat…

You can use a separate utility named “AutoRaise” to get autoraise and autofocus functionalities without having to rely on yabai for these. https://github.com/sbmpost/AutoRaise

Re: Yabai – A tiling window manager for macOS

#203

In my personal experience, tiling window managers only work when you have a lot of screen real estate. I tried using yabai on a 13 inch m2 air, but I ended up going back to my normal workflow of just alt tabbing between windows. Most apps don’t let you see enough content when they are tiled (because of gui elements such as sidebar etc). I do love the “focus on hover” feature of yabai though. I wish macOS had that nat…

I really want https://material-shell.com/ for MacOS

it was perfect for using a single monitor

kinda like a deterministic alt+tab, you set up the layout of "workspaces" and they're always in the same place

you can also pin windows to always open in the same place, so you basically can have persistent layouts that you create while using them (not like powertools where you have to set up the layouts to use them later)

I keep getting annoyed at alt+tab because I accidentally clicked on another window and now the order is messed up

Re: Yabai – A tiling window manager for macOS

#204
post #18

Earlier quoted context omitted.

You might try Magnet. It's $10 on the mac app store. I've had zero issues with it, and it has some problems sorted that other tools don't or haven't always, namely correctly tiling across monitors. I used to use Rectangle, which is open source and frankly pretty good but at the time I was using it had some warts. macOS' window management seems to not be entirely transparent. I don't know all the details, but this is…

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

I have had a quick look at Rectangle. I'm currently using Hammerspoon, but it has problems moving windows quickly and precisely, so I wanted to see if Rectangle does better.

The main thing missing for me is being able to use mouse buttons to move windows: I have a Kensington Expert Mouse and I use buttons 3 and 4 for some actions.

Actually, the built-in keyboard shortcuts for moving spaces with Mission Control have the same problem, so I have configured Hammerspoon to turn the mouse clicks into key presses. I suppose I could do the same thing with Rectangle, tho it's annoying to have to rely on multiple apps.

Re: Yabai – A tiling window manager for macOS

#206
My personal favorite app/software in this space is Phoenix [0]. It's more of a "build your own tiling/window manager" but I find it enjoyable to work with. I have my config written in TS and then I just run `tsc` to compile to JS which it uses.

I have one hotkey I hit to put all my windows where I want them (aware of which setup I'm plugged into, home, laptop-only, remote office) on various monitors and then I have hotkeys to arrange/resize/move my windows around.

The best part is if there is something I want to do I can just add it (add a modifier or a new hotkey combo). After having that freedom it's hard to consider using anything off-the-shelf even though many of them are quite good from what I can tell.

[0] https://github.com/kasper/phoenix

Re: Yabai – A tiling window manager for macOS

#207

In my personal experience, tiling window managers only work when you have a lot of screen real estate. I tried using yabai on a 13 inch m2 air, but I ended up going back to my normal workflow of just alt tabbing between windows. Most apps don’t let you see enough content when they are tiled (because of gui elements such as sidebar etc). I do love the “focus on hover” feature of yabai though. I wish macOS had that nat…

I really want https://material-shell.com/ for MacOS it was perfect for using a single monitor kinda like a deterministic alt+tab, you set up the layout of "workspaces" and they're always in the same place you can also pin windows to always open in the same place, so you basically can have persistent layouts that you create while using them (not like powertools where you have to set up the layouts to use them later) I…

I'm still bitter about macOS removing 2D "workspaces". When I was on a 13" I could work just fine by having my browser in the center of 3x3, code to the right, chat down, DB browser left, and I can't remember what I put "up". I vaguely remember using the "diagonals" for something, maybe TweetDeck or similar?

It was _so_ much better than just a 1D list of workspaces. I could get to any of my main 5 spaces with 1-2 key presses max. I've completely ignored spaces since they took that away especially since I think it reorders them automatically or something like that? I have zero desire for "smart spaces" or anything like that. I want deterministic. Now I just run multiple monitors and I'm happy with that but I miss the 2D grid for spaces on just a laptop.

Re: Yabai – A tiling window manager for macOS

#208

https://www.hammerspoon.org/ is amazing. Not quite the same as Yabai but I cant live without it!

Phoenix [0] is another option in this space if you want to write JS/TS instead of Lua. I just commented about it here [1].

[0] https://github.com/kasper/phoenix

[1] https://news.ycombinator.com/item?id=38487077

Re: Yabai – A tiling window manager for macOS

#209

I like to keep the right 10% or so visible so I can see (and manipulate) the first column of file icons on my desktop behind my otherwise maximized/tiled apps. I haven’t been able to find a window manager that can handle this customization.

Amethyst[0] has options for screen padding. [0]: https://ianyh.com/amethyst/

Thanks!

Are you a fan of hobos?

Re: Yabai – A tiling window manager for macOS

#210

In my personal experience, tiling window managers only work when you have a lot of screen real estate. I tried using yabai on a 13 inch m2 air, but I ended up going back to my normal workflow of just alt tabbing between windows. Most apps don’t let you see enough content when they are tiled (because of gui elements such as sidebar etc). I do love the “focus on hover” feature of yabai though. I wish macOS had that nat…

You might enjoy https://github.com/ianyh/Amethyst
Post reply on HN