

Is that method different from using the hot keys to swap layouts?
Depends on your desktop environment and if you are using Wayland. If you use the hot keys, probably try those first since using the terminal can mess those up. It’s a bit of a hammer, but I typically manage keyboard layouts only using the terminal.
Like can I tell it to always use that mapping for that game or do I need to remember to run it each time I play the game and then set it back after I’m done (or automate that)?
Hmm, I’ve never had the need, but I would start by changing the game command in your launcher (Steam, Lutis, etc.)
I use gamemode
to automate things like changing my RGB light patterns when running a game, maybe there is a per-game thing you could do…
Talos… are you running kubernetes for your laptop you mad lad? Also, not aware that the coreboot is ready yet for any of the non-chromebook machines. (Edit: meant coreboot for Framework laptops)