asmvik/yabai

Preserve layout after coming back from sleep

Open

#259 opened on Sep 19, 2019

View on GitHub
 (19 comments) (16 reactions) (0 assignees)C (28,871 stars) (713 forks)batch import
bughelp wanted

Description

I'm using a macbook pro with an external screen. Typically when it comes back from sleep, the macbook wakes up first, with the external screen coming in 10-20 seconds later.

Before the laptop goes to sleep, I have a nice layout with windows uniformly distributed between two monitors. Upon wakeup, because the second monitor takes its time, Yabai lays all of the windows on the laptop screen, and the external monitor is empty. I then manually reshuffle windows.

I dont mind it too much, but was hoping that there's maybe a way to avoid this that I'm missing.

My complements for a wonderful piece of software. I really missed something like this since I switched from Linux and ion3 a number of years ago.

Contributor guide