top | item 35820063

(no title)

dosimeter | 2 years ago

I've been a daily i3 user for 6+ years. My initial exposure to tiling window managers was through Ion 2 (https://en.wikipedia.org/wiki/Ion_(window_manager) maybe ~15y ago. Back then I was still using Windows on my primary computer for various reasons, but after playing around with Ion 2 it started to feel cumbersome.

I had been using AutoHotkey for some simple macros before and after reading the documentation with more thought, I set out to mimic some aspects of the tiling WM experience. The outcome was this script https://gist.github.com/ristomatti/f075020025cf870aaf8f73a93.... It looks like a quick hack now (as it was) but I remember confirming it still worked on at least Windows 10 (it was written at the time of Windows 2000 IIRC).

The script is badly documented and I barely remember writing it but what it should support is:

- focusing adjacent windows directionally using win+arrows

- win+left click to move a window around based on a 3x3 grid (click top left moves to top left)

- win+right click to resize a window to grow in the direction of the clicked region of the window

- win+middle click to select a specific window, then win+middle click on an empty space on the desktop to move and resize the window to fill in the gap

- support multiple monitors

discuss

order