I write in french and I code in english. Is there a command to easily toggle between these two keyboard layout?
I could not find any other than setxkbmap or other similar command, but I would need to write a script to query current layout and depending on the layout, switch to the appropriate layout. Is there a better way?
Thanks!!