My problem is that the windows will all default back to the laptop monitor after sleep.
I want the window manager to remember where I had the window and move it back when I plug in. Now I just mirror and have a bigger monitor becaused I can't deal with that horseshit.
https://github.com/NateEag/dotfiles/blob/ced1819f7f6ab8bd6f8...
I haven't really thought about it in years, and I'm so glad I took the time to write this logic up.