LavaUI docs GitHub

message KeyboardSettings

Control plane

message KeyboardSettings

The keyboard, as xkb is currently set up.

Named after the xkb_rule_names fields rather than prettified, because these are the strings setxkbmap takes and the strings the config file stores: an app showing a picker still has to write "colemak" in the end, and a layer of nicer names in between is a translation table that can be wrong in both directions.

idl/lava.npidl:352

Fields

layout: string

Comma-separated, as xkb takes them: "us", or "us,ru" for two layouts with a switching key in options. Empty means xkb's own default.

idl/lava.npidl:355

model: string

Not documented.

idl/lava.npidl:359

modKey: string

Which modifier the compositor's own shortcuts (and mod+drag) use: "alt" or "super" (the Win key). Anything else is treated as Alt. Defaults to "alt".

idl/lava.npidl:368

options: string

Comma-separated xkb options: "ctrl:nocaps", "grp:alt_shift_toggle".

idl/lava.npidl:358

repeatDelay: i32

Not documented.

idl/lava.npidl:364

repeatRate: i32

Keys per second once repeating starts, and the milliseconds a key is held before it does.

idl/lava.npidl:363

rules: string

Not documented.

idl/lava.npidl:360

variant: string

Not documented.

idl/lava.npidl:356