Magnet is a lightweight windows management tool that helps you snap your windows into predefined spaces. By dragging a window to the edge of your screen, Magnet will resize the window to half of your screen; drag a window to the corner of your screen and Magnet will resize the window into a quarter of your screen. Reddit’s Home to Apple's Latest Operating System! Created Aug 26, 2010. Help Reddit coins Reddit premium Reddit gifts.
The Mythical Engineer
MacOS window manager done right. December 02, 2019 2 minutes read Rectangle: A Simple, Free and Open Source Window Manager for macOS. Aug 17, 2018 Organizing windows on macOS is a pain—you’ve got to drag and resize everything manually. Happily, there are a bunch of apps that can help. Placing and resizing windows is tedious but necessary if you want to work with multiple windows at once, and macOS doesn’t offer a lot of ways to make things faster.
Are you tired of dragging windows around and resizing them everytime you open or close an app in your workspace?
For the past several years I have tried numerous window management softwares like Moom, Spectacle and Rectangle.
I was using Rectangle since last year and was quite happy with the ability to move windows around quickly with keyboard shortcuts. I used to work on a multiple monitor setup, so it was easy to manage multiple windows and partitions on big screens.
I was working on Linux for a while and bumped on i3wm, which is a tiling window manager. The nicest thing about a tiling manager is you can control nearly everything from the keyboard.
It’s very quick and easy to set up side-by-side windows, and resizing one automatically resizes the other. It really helps on smaller screens, since by default everything takes full space on screen with minimal window decoration.
As I switched back to my 13” Macbook again, I felt the lack of efficient window management on macOS. I started searching for a solution and found this open source project Yabai.
I use most of my IDE and terminal in full screen now due to the shortage of screen size. Whenever I open an app, it splits the previously active and new window in half and after closing it, the active window restores to full screen in a snap. That saves me few extra clicks of resizing the windows again and again.
This has improved my workflow and increased my productivity a lot.
You can follow the steps below to quickly get it running on your system.
Rwhile booting your device.
csrutil status, which returns System Integrity Protection status: unknown / disabled
Homebrew is a package manager for macOS. Similar to
pacman on arch or
aptitude on ubuntu
Open Terminal and run
You will get a prompt to allow
yabai accessibility permissions. You can navigate to Security & Privacy, then Privacy, then Accessibility.
Now install the scripting addition.
Restart Dock.app to load the scripting addition
Create a configuration file and make it executable
There are multiple options for configuration you can put in
yabairc file.Important configuration for tiling is binary space partitioning layout (bsp)
I also like to keep the auto balance on. In this configuration, windows always occupy the same space, independent of how deeply nested they are in the window tree.
Make sure to restart the service to see the changes
Here is a small demo of the working setup.
Let me know your experience after using this window manager 🤟.