However that's a bit inconvenient. For many windows (i.e. browser,
terminal) I need to keep the US layout most of the time. I need the
localized layout only for text editors in 99% of cases. And I switch
windows/workspaces a lot, so I have to switch the layouts manually
almost every time I switch.