This software automates window repositioning when reconnecting to external monitors on macOS.
For instance, imagine that you are using your MacBook at home, with two external monitors. As a university student, you take the laptop with you in the morning. Then at school and during class breaks, you are working on your homework using your laptop. In the evening, when you come home and hook the laptop back to the two external monitors, your program windows get automatically repositioned the way you left them.
CMD+ALT+CTRL+S
to store current window configurationCMD+ALT+CTRL+R
to restore last saved window configurationautomaticStoreRestore
constant in Spoons/WindowKeeper.spoon/init.lua
init.lua
file, found at the root of this repository, to your ~/.hammerspoon/.init.lua
file. If it does not exist, create it.MIT