kasper / phoenix

A lightweight macOS window and app manager scriptable with JavaScript
https://kasper.github.io/phoenix/
Other
4.36k stars 128 forks source link

Feature Request: Automatic reload #258

Closed alexmarmon closed 4 years ago

alexmarmon commented 4 years ago

When switching from a monitor setup at home to one on the go I have to reload for the windows to size properly. Not a big deal but it would be cool if it recognized the change and switched automatically.

kasper commented 4 years ago

Hi @alexmarmon! Would listening to the screensDidChange-event and then resizing work for you in this particular case? https://github.com/kasper/phoenix/blob/2.6.3/docs/API.md#2-events

alexmarmon commented 4 years ago

Sorry @kasper, I didn't see your original reply. That works perfect, thank you!

kasper commented 4 years ago

@alexmarmon No worries, perfect!