Hacker News new | past | comments | ask | show | jobs | submit login

I just made my own window manager with Hammerspoon. First I copied whatever rectangle/magnet was doing and then added my own logic on top of it to fit the style I work with windows.

As a bonus I can hit hyper-l (L for layout) and it'll open the correct apps + place them correctly depending on where I am and how many monitors are connected.

And caps-lock is of course mapped as hyper with Karabiner Elements, it even has a preset for it.




Is your config publicly avail anywhere?

Also, I was only using Karabiner for caps remapping and was able to satisfactorily replace it with this type of built-in hidutil call: https://news.ycombinator.com/item?id=43203239 -- remaps to F19, which I use as a hyper modal in hammerspoon. Works well, and I was happy to let go of Karabiner given how deeply it has to dig into the OS, and I wasn't using any of its more powerful features anyway.


I did the same, though I'd modeled my setup after my prior swaywm workflow. Hammerspoon was really the only thing that made macos usable for me.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: