dwm and multiple keyboard layouts
![]()
Few days ago I had the occasion to get a quite old but really robust keyboard. I guess it's from the 90's, but it still have a really wonderful touch and works very very well.
Since it has an Italian layout, I took some time to configure dwm for switching between American and Italian layouts.
I just added the following lines to the config.h file:
{ MODKEY|ShiftMask|ControlMask, XK_i, spawn, "exec setxkbmap it" }, \
{ MODKEY|ShiftMask|ControlMask, XK_u, spawn, "exec setxkbmap us" }, \
and recompilied dwm. It works flawlessly.
English
Italiano