5 ms·
Would you mind Sharing your hammerspoon Config? Are you tiling your windows similar to i3 or sway?
by weitzj 2y ago
Would you mind Sharing your hammerspoon Config? Are you tiling your windows similar to i3 or sway?
- VTimofeenko 2y agoSure. Should be able to extract the relevant bits tomorrow. I tried some tiling WMs on MacOS(Amethyst?), but they never truly felt like tiling WMs on Linux. I could never reliably switch focus where I wanted it to go. This is not to disparage those projects; my config works well enough and I may not had given them a proper chance. My tiling is manual and closer to Windows snap feature mixed with Power Toys zones.
- e12e 2y agoFwiw I'm somewhat happy combining AutoRaise for focus-follows-mouse and rectangle for tiling. It's not as good as a dedicated tiling wm on Linux - but it's less terrible than MacOs' mouse/touchpad chauvinism. https://github.com/sbmpost/AutoRaise https://github.com/sbmpost/AutoRaise https://github.com/rxhanson/Rectangle https://github.com/rxhanson/Rectangle
- VTimofeenko 2y agoOn Linux I often use mouse follows focus. I switch to a webbrowser and have a reasonable guess where the cursor is. IIRC that was a pain with Amethyst and my hammerspoon config. Have you set up something like this?
- e12e 2y agoNo, I've not found anything that gives workable mouse follow focus. But I've not looked very hard.
- weitzj 2y agoI am finally settled on aerospace.app which is close enough to i3 for me. Now hammerspoon for some Automation :)
- VTimofeenko 2y agoFound a config that seems much cleaner than my lua mess and at a glance it has the key tiling functions[1]. Check set-window-fraction function and its callsites. [1]: https://github.com/kbd/setup/blob/main/HOME/.hammerspoon/init.fnl https://github.com/kbd/setup/blob/main/HOME/.hammerspoon/ini...
- weitzj 2y agoThank You. Nice. Fennel lang