The goal of this script is for every window to have their own layout. When a window loses focus, its layout is saved and then the global layout is changed to what the newly targeted window used to be.
This script doesn't handle seats.
Works even when the keyboard gets unplugged and re-plugged.
This PR was opened on the main sway repo from an earlier PR.
The goal of this script is for every window to have their own layout. When a window loses focus, its layout is saved and then the global layout is changed to what the newly targeted window used to be.
seats
.