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
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.
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 ..
* 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...
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).