What does HackerNews think of miro-windows-manager?

Intuitive and clever mechanism for moving windows using only arrows, even resizing windows by thirds or quarters! For OSX

Language: Lua

#60 in macOS
For windows management:

Install this https://www.hammerspoon.org/

brew install —cask hammerspoon

Then follow the instructions here to install this:

https://github.com/miromannino/miro-windows-manager

Absolutely awesome. I’ve been using BetterTouchTool for windows management for years but I just started using Jump Desktop on my iPad for remote connection to my Mac and it wouldn’t work at all. Decided to try out hammerspoon today after hearing good things and it is amazing. Works with Jump perfectly. Never going back to BTT for windows management.

I'm using Hammerspoon on MaOS to give me a semi-tileable windows interface. Here is my config:

    local hyper = {"ctrl", "alt", "cmd"}

    hs.loadSpoon("MiroWindowsManager")

    hs.window.animationDuration = 0.3
    spoon.MiroWindowsManager:bindHotkeys({
      up = {hyper, "up"},
      right = {hyper, "right"},
      down = {hyper, "down"},
      left = {hyper, "left"},
      fullscreen = {hyper, "f"}
    })

    -- https://github.com/miromannino/miro-windows-manager
This allows me to place any MacOS window in either a horizontal or vertical third, or a quadrant, or a half, perfectly divided in such a way that I can maximise use of my screen while running multiple apps. My most common work environment is to have a terminal on one half of the screen, docs on the other - or two terms on top of each other on one side, docs on the other.

This is so useful for me that I yearn to make the same hotkeys work on my Linux machine, but I haven't worked out what window manager I want to use to do it .. probably Awesome of course, but I'd love to be able to use the same Hammerspoon scripts (Lua) somehow ..

In case it's helpful, here's how I use hammerspoon:

* As a replacement for the classic caffeine app. [1]

* To provide shortcuts for window managements. [2]

* To shutdown bluetooth on sleep. Otherwise, devices I have setup to pair with both my mac and phone will tend to pair with the mac, even though it's asleep. [3]

1: https://gist.github.com/heptal/50998f66de5aba955c00

2: https://github.com/miromannino/miro-windows-manager

3: https://gist.github.com/ysimonson/fea48ee8a68ed2cbac12473e87...

I have been using https://github.com/miromannino/miro-windows-manager for several months now. It is a plugin for Hammersppoon on macOS that lets you resize and organize windows using the keyboard.

It’s worked really well for my set-up (can make windows fullscreen, take up 1/2, 1/3, 1/4 of vertical or horizontal space of the screen).