/layout_switcher

Change the layout depending on whether a USB keyboard is plugged in or not

Primary LanguageRust

Notes

Maybe could be interesting to have all the commands to be run for a specific “variant” in the config file, in the form of json array?

The above proposition would give the user all the control, we just have the infraestructure to make it happen; we keep the scope small, we check whether the –keyboard device is connected and change the layout according with the config file or arguments.

Let’s choose the .config/layout_switcher/config.yaml file.