Cycling through window layouts (revisited)

from blog lmno.lol @alvaro, | ↗ original
Last year, I wrote a little script to cycle through window layouts via Hammerspoon. The cycling set I chose didn't stick, so here's another go. function reframeFocusedWindow() local win = hs.window.focusedWindow() local maximizedFrame = win:screen():frame() maximizedFrame.x = maximizedFrame.x + 15 maximizedFrame.y = maximizedFrame.y +...