How to Change Keyboard Layout in i3 (with Examples)
To change your keyboard layout in i3, you can use the following command:
setxkbmap
To change your keyboard layout to US English with the Dvorak variant, you would use the following command:
setxkbmap us dvorak