Utility allowing the use of different keyboard layouts for every window.
Remembers the last used keyboard layout and switches automatically when window is focused.
The application is using i3ipc++ library to connect to the i3 IPC Interface.
It is subscribing to the window focus events.
Utility manages keyboard layout switching using X keyboard extension.
Follow the requirements section of i3ipc++ library.
You also will need libxkbfile-dev
package
Select appropriate location for the utility, e.g. ~/bin/i3_socket_lang
add to your i3 config:
exec_always ~/bin/i3_socket_lang
restart i3
TBD