Add hot reloading
Currently, you can only reload the config. This is actually pretty sweet. Unfortunately, that's pretty much useless during dev since you still have to cold reload for code changes.
Make the entire WindowManager struct derive Encodable/Decodable, serialize it to a swapfile, execvp the new binary, load in the old WindowManager.
Alternatively, we could just scan the XOrg window heirarchy on boot to see what to add. It's a lot less work, but would put all windows in the same workspace and forget about lots of other important info.
very good chc4
You're welcome to learn Rust and help me with this~
I don't know how to write a WM.
It's pretty easy. Reading over other WMs helps a little bit, but that's mostly just needed for the X.Org setup since it's a bit esoteric. Like, this issue wouldn't even be touching X11 unless it goes the scan window hierarchy route, which I would rather not do.