wayfire
wayfire copied to clipboard
Change keyboard layout with shortcut
Maybe there is already a option for it, but is there any way to change the keyboard layout with a shortcut?
This would be a nice feature when this is not already in the current state
There is XKB option setting for keyboard, setup guide https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Frequently_used_XKB_options
Any news?
This can be achieved by setting xkb_options the same way the layout and variants are set. So although I don't think it's necessary to add any new features for this, I think it could be beneficial to make it clear how to do this from the default wayfire.ini since this is an essential feature if you have multiple layout. Something like (of course commented out)
[input]
xkb_layout = us,fr
xkb_variant = dvorak,bepo
xkb_options = grp:win_space_toggle
and then in the wiki link to https://man.archlinux.org/man/xkeyboard-config.7#Switching_to_another_layout
This can be achieved by setting
xkb_optionsthe same way the layout and variants are set
Yeah absolutely. Feel free to send a PR for the README :)
In the meantime, I am closing this issue, since there isn't much else to be done about it.