News for hackers. Stuff that matters.
Re:AeroSpace is an i3-like tiling window manager for macOS by idle_zealot on Thursday June 06, 2024 @01:15PM (#40599929)
I daily drive this and my verdict is: it's the best way to manage windows on a Mac, but falls short of i3/sway. In particular, support for re-arranging windows by dragging them to positions relative to one another is extremely limited in that it's not able to create new vertical or horizontal splits the way you can in sway, which forces me to take awkward detours with keyboard commands to get to the window layout I want most of the time. Like, say I have two windows side-by-side, and I want to split one of them vertically. In sway I'd pop open the new window, then drag it to the top or bottom half of the window I want it to share horizontal space with, and bam, all done. With aerospace the best way I've found to do this is to open the new window, then switch all three windows into a vertical stack, then focus the window that was originally on the left and invoke the 'move left' command on it.
Re:AeroSpace is an i3-like tiling window manager for macOS by nbobko on Thursday June 06, 2024 @01:28PM (#40600101)
If you have normalizations enabled, you don't need to "switch into a vertical stack"

Given this layout:

    h_tiles
    ├── window1 (focused)
    ├── window2
    └── window3
`move left` will produce this layout:

    h_tiles
    ├── window1 (focused)
    └── v_tiles
        ├── window2
        └── window3
Re:AeroSpace is an i3-like tiling window manager for macOS by idle_zealot on Thursday June 06, 2024 @01:42PM (#40600258)
Ah, so it does. I suppose this is an instance of my mental model not having adjusted.
Re:AeroSpace is an i3-like tiling window manager for macOS by squigz on Thursday June 06, 2024 @05:10PM (#40602452)
For what it's worth, this video from i3 really helped me visualize how i3 and related WMs deal with windows - https://www.youtube.com/watch?v=AWA8Pl57UBY
Re:AeroSpace is an i3-like tiling window manager for macOS by j45 on Thursday June 06, 2024 @02:04PM (#40600483)
Thanks, I will try it out to see if it can first solve my main problem - I'm looking for a way on Mac for it to reasonably remember the screen layouts.

Every time it wakes from boots, the desktop has complete amnesia with 3 screens.

Ideally I'd be able to drive my own workspaces, and it can use the laptop screen only, or 2 or 3 external monitors at different desks (work and home).

Re:AeroSpace is an i3-like tiling window manager for macOS by tln on Thursday June 06, 2024 @02:58PM (#40601105)
I've resorted to running a shell script every time I plug in.

displayplacer "id:... res:2048x1330 hz:120 color_depth:8 enabled:true scaling:off origin:(0,0) degree:0" "id:... res:3840x2160 hz:30 color_depth:8 enabled:true scaling:off origin:(-918,-2160) degree:0"

displayplacer is very easy to set up and also gives you access to modes that you can't access with System Preferences.

Re:AeroSpace is an i3-like tiling window manager for macOS by xyst on Thursday June 06, 2024 @04:47PM (#40602211)
The days of “it just works” is long gone.
Re:AeroSpace is an i3-like tiling window manager for macOS by woleium on Thursday June 06, 2024 @07:06PM (#40603458)
but we have come a long way from “most applications crash if not the system hangs” (or macintosh as it’s known for short)
Re:AeroSpace is an i3-like tiling window manager for macOS by j45 on Saturday June 08, 2024 @03:37PM (#40619747)
It does just work. On windows.
Re:AeroSpace is an i3-like tiling window manager for macOS by ghotli on Thursday June 06, 2024 @06:15PM (#40602970)
I use Rectangle on macos for this exact use case. Used to use Yabai but now Rectangle is my daily driver for this sort of thing. I'm going to try this one out but global hotkeys for my windows snapping to the right spots when I plug my laptop in is hard to give up
Re:AeroSpace is an i3-like tiling window manager for macOS by yoavmmn on Thursday June 06, 2024 @07:25PM (#40603604)
Wanted this to exist for so long. I’ve started learning Swift to build an app to solve this. Then I discovered HammerSpoon[1] and since I use a HammerSpoon lua script to adjust the windows layout for my different setups: 1. Laptop only mode 2. At home my MacBook screen is closed and connected to 2 external monitors 3. At work my MacBook screen is open and connected to 1 external monitor

The script detects the connected screen UUID and applies the appropriate layout

[1] http://www.hammerspoon.org/

Re:AeroSpace is an i3-like tiling window manager for macOS by j45 on Thursday June 06, 2024 @07:44PM (#40603760)
Thanks, I'll check it out. This looks great.

It's a little baffling how MacOS hasn't been able to get this to work. If a Matrox TripleHead2Go could hit a high enough resolution for multiple monitors it might be a possibility.

It did improve with a few tweaks but every so often it forgets.

First I thought it was a Macbook Pro thing. But a Mac Studio, with 3 separate monitors plugged into it, was just as confused.

I'm not sure how Windows and Ubuntu can handle it just fine from my experience.

Re:AeroSpace is an i3-like tiling window manager for macOS by palata on Thursday June 06, 2024 @08:33PM (#40604088)
> In sway I'd pop open the new window, then drag it to the top or bottom half of the window I want it to share horizontal space with

I did not even know it was possible to drag windows. I do that by selecting the window I want to split, then setting a "vertical" split with "Command + v", then creating the new window (usually a terminal).

Or I move the window with "Command + Shift + [hjkl]".

Re:AeroSpace is an i3-like tiling window manager for macOS by lednax on Thursday June 06, 2024 @08:52PM (#40604191)
I use spectacle and it’s no longer supported
Re:AeroSpace is an i3-like tiling window manager for macOS by pimlottc on Friday June 07, 2024 @12:12AM (#40605271)
Another option is the ShiftIt plugin for Hammerspoon:

https://github.com/peterklijn/hammerspoon-shiftit

Re:AeroSpace is an i3-like tiling window manager for macOS by ctippett on Friday June 07, 2024 @05:29AM (#40606880)
Re:AeroSpace is an i3-like tiling window manager for macOS by borski on Thursday June 06, 2024 @09:41PM (#40604494)
Switch to Rectangle
Re:AeroSpace is an i3-like tiling window manager for macOS by runjake on Friday June 07, 2024 @01:13AM (#40605538)
https://rectangleapp.com is the spiritual successor.
Re:AeroSpace is an i3-like tiling window manager for macOS by alostpuppy on Friday June 07, 2024 @03:05AM (#40606033)
This is my first install on every new Mac
Re:AeroSpace is an i3-like tiling window manager for macOS by pech0rin on Friday June 07, 2024 @03:01AM (#40606015)
haven’t used this one but I use yabai and it works exactly as you describe