Closed mhdzli closed 2 years ago
You can set the xkb config options via the config file here. The syntax/options should match sway, as they're ultimately passed to the backend in the same way.
I'm not sure if this supports everything that sway does, but you can definitely use a custom keymap file.
Thank you. Sorry my bad. Don't know how I missed that.
Sorry but is there any way to get the current keyboard layout in vivarium?
I don't think there is a way to get the current layout as it stands - Vivarium definitely doesn't specifically provide one, but I'm not sure if there's an independent way to query via any backend library.
What kind of thing are you wanting to do, it would help to think through how this could be added?
In Swaywm keyboard configuration for using multiple layouts or other custom keymap options is available with a custom keymap file or using
input { type:keyborad { <KEYBOARD_OPTIONS> }
in Swaywm config file. Is there any implementation for this invivarium