Keyboard layout switching does not work (it stops working after a reboot).
The only thing that helped was forcing the settings with the command: hyprctl eval 'hl.config({ input = { kb_layout = "us,ru", kb_options = "grp:alt_shift_toggle" } })'
I have reviewed and edited the following files: ~/.config/hypr/hyprland.conf ~/.config/hypr/hyprland.lua ~/.config/hypr/custom/general.lua ~/.config/hypr/custom/execs.lua ~/etc/vconsole.conf ~/.config/hypr/custom/general.conf ~/.config/hypr/hyprland/general.conf
Wherever there was an input block, or where I assumed these changes should go (like in the custom folder), I added something like this: input { kb_layout = us,ru kb_options = grp:alt_shift_toggle }
None of it helped. After a reboot, the keyboard layout switching stops working again.
you can easily edit it from the shell
To set up layout switching via a key combination, instead of opening the settings every time... I managed to do this successfully on 4 other environments that I installed previously.
switch keyboards with the keybind you want
If you don't want to use that function, leave it empty and configure everything from your Hyprland config.
That's true.. thanks!