|
|
|
|
|
by mttyng
1135 days ago
|
|
Does anyone have any ahk file(s) they would like to share? I have (to me) a basic setup but I’ve never gone very deep on it, but I’d like to. As a new-to-windows user I REALLY miss some of the Linux key commands I’ve set up in i3. |
|
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