A Hammerspoon configuration that provides hotkeys for moving windows between monitors, hotkeys for resizing windows, and a feature to automatically toggle fullscreen mode for applications when switching between single to multiple monitors.
Move a window or fullscreen application to another monitor using Command
+ Option
+ Shift
+ Left
/ Right
.
Maximize a window using Command
+ Option
+ Shift
+ Up
. To restore the window to its original size, use Command
+ Option
+ Shift
+ Down
.
Enabling Fullscreen Mode the settings menubar icon will toggle fullscreen mode on all windowed applications. Applications that are opened will automatically enter fullscreen.
Fullscreen Mode is automatically disabled when multiple displays are detected and re-enabled when displays are disconnected.