Hyprland: Can't toggle keyboard layout
In my old .xinitrc
I had this line: setxkbmap -model pc105 -layout us,us -variant ,colemak -option grp:ctrls_toggle,shift:both_capslock,caps:backspace
The important part is this setxkbmap -layout us,us -variant ,colemak -option grp:ctrls_toggle
. Is it possible to switch layouts like this in hyprland? Because setting multiple variants fails
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (8 by maintainers)
hypctl --batch "keyword input:kb_layout us ; keyword input:kb_variant workman"
? (adjust to your needs)