Hyprland
Hyprland copied to clipboard
Expose secondary kb_layout to fullscreen applications
I have Hyprland configured such that
input {
kb_layout = us,us
kb_variant = colemak,
kb_model = pc104
kb_options = grp:ctrl_shift_toggle
}
and as such, fullscreen applications such as games will only read the first entry on the list as the keyboard layout, even if I launch them with the second one pre-selected. Using the grp:ctrl_shift_toggle keybind to switch layouts has no effect inside the game. If I reverse the configuration to
input {
kb_layout = us,us
kb_variant = ,colemak
kb_model = pc104
kb_options = grp:ctrl_shift_toggle
kb_rules =
sensitivity = -0.9
}
(moving the "," to the beginning of "colemak" rather than after, making the order of the layouts "us" and "us-colemak" rather than "us-colemak" and "us")
then the games will again detect the first entry on the list, it now being "us".
I realize this is probably the wrong place to post this, but as I have no knowledge of the inner workings of these things, I have to post somewhere and hope to be advised of a more suitable place to post :)