then I just get the standard US keyboard layout when I restart Sway. I would also like to have the standard US layout as an option, but didn’t want to add the extra complication of two variants of the same layout before getting multiple layouts working. I’ve tried xkb_layout "us,us" and xkb_variant "dvorak," and get the same result. I also get the same result if I separate the xkb configuration options out of that block and preface each one with input * .
Is this not the correct way to configure the keyboard layout?
I used to have this in my config to change between qwerty and dvorak US layouts.
I think I had some issues with swappable layouts and interactions with some gtk programs where the keyboard shortcuts looked at the wrong layout and broke things like copy paste, so I don’t have anything like that anymore.
My current setup has me set one layout for the built-in laptop keyboard and one for my external keyboard which is probably all I needed in the past anyway. (also switched to Workman now)