i3kb Automatically sets the last used keyboard layout for the window in i3wm. Install cargo install i3kb Usage i3kb To start with i3, add to config: exec_always --no-startup-id i3kb