I have four keyboard layouts set up, and I want to cycle through them with mod space:
input * {
xkb_layout "us,ca,ir,bd"
xkb_options "grp:win_space_toggle"
}
I can switch from US to CA (Canadian French), and CA to IR (Persian). But once I'm on the Persian keyboard, the win_space combination no longer works. I checked using xev in terminal to see if the keyboard uses a different kind of mod key or space, but they're registering as identical to that of the US keyboard.
Changing it to grp:ctrl_shift_toggle works just find with cycling through all 4 layouts. grp:lctrl_lwin_toggle also works, which means the windows key is not the issue. I suspect the space bar might be the problem.
My workaround for now works (to use control shift), but is there anything I can do to make mod space work? This is my preferred key combo, as that's what I use on my Windows machine.