I recently bought a new keyboard with another layout than my mac has (mac has qwertz, new keyboard has qwerty). I find it a bit tedious to manually have to switch the keyboard setting globally instead of seamlessly switching between devices and layouts. Is there a way to achieve that?
The repository is called autokbisw by Ole Hüter. It works by automatically detecting which keyboard you are using and choosing the appropriate layout.
It can be installed via
brew install ohueter/tap/autokbisw brew services start ohueter/tap/autokbisw