# aliquot

## < a quantity that can be divided into another a whole number of time />

I am a long time user of Moom, a tiny application that helps you manage the windows on your desktop. I know there are many such applications dedicated to window management on macOS, but this one is quite handy for several reasons. First, it comes with keyboard shortcuts, which you enable using a hot key (mine is ^-⇧-M) followed by the action you want to perform. Here’s an example of the default actions that are configured:

This is handy if you like to stay away from the mouse or the touchpad as much as you can. However, the second reason why I like Moom is that is non obtrusive: You can hide the icon in the menu bar and let the application starts at login, so you never realize that is running in the background. It adds a tiny menu (aka Moom’s palette) to the top-left “green” button of each window, which allows to resize the running application half-screen (left/right or top/bottom) or full-screen. Compared to the split view in fullscreen mode, I always found it much more powerful. It is not a tiling window manager, but it’s close.

A final feature of Moom is that you can drap app to border or corner of your desktop in order to automagically resize your windows. I don’t use this feature as much as the keyboard shortcuts and Moom’s palette, but it is an interesting option anyway. Usually, I have the following settings: Mail fullscreen on a dedicated space, when I use it of course; iTerm half screen or maximized/fullscreen if I use several panes; Emacs, two third screen or maximized when I need to work on several buffers; Safari, maximized. Then I usually rely on ⌥-⇥ to switch between opened apps. All those window arrangements can be performed using Moom shortcuts, as a matter of fact.

There are many other features described on the website, like saved window layout and grid resizing, but to be honest I don’t really use them. I have always been looking for a very simple way to maximize my windows or make them fit on half the screen. If this is what you’re after too, then Moom is definitely a good option to try. It is a paid app, but it’s worth its \$10.

### Sidenote

As I said, Moom is not a tiling window manager (WM). There have been various attempts at providing a full tiling WM for the Mac over the past few years, but I don’t know of any native app which cound competete with Linux i3 or other alternatives. The last one to date for the Mac was chunkwm, but it has been archived. I haven’t tried Amethyst, and I don’t even know if xmonad works as expected on macOS nowadays. Lately, I’ve been playing with Hammerspoon and Szymon Kaliski’s tiling WM, hhtwm, but I found it too complicated for what I need, despite being able to configure it quite easily thanks to Simon’s own config. Anyway, it is there if I need it: I just have to launch Hammerspoon; at least, all newly opened applications will start in full size centered on screen.

As of January 2020, I have tried Amethyst, and I found it much better than Hammerspoon hhtwm, at least if we consider it works right out of the box, without further configuration. Unfortunately, the tiling option (--no-title-bar) available in recent emacs-plus version (actually, GNU Emacs 28.0.50 from the HEAD version) is quite buggy, while the iTerm2 option works perfectly well, which means I would not really benefit from tiling layouts — notwithstanding the fact that the size of the Macbook 12 screen isn’t well suited for such window arrangements.