top | item 35811136

(no title)

mttyng | 2 years 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.

discuss

order

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

ismokedoinks|2 years ago

Not a helpful contribution to your first question but I agree with the i3 comparison. Trying to get my volume buttons working on i3 reminded me of using AHK to reconfigure the numpad with numlock off to media control on one of my old windows desktops