LavaUI docs

message KeyBinding

Control plane

message KeyBinding

One shortcut the compositor takes before any client sees the key.

Read-only, and honestly so: these are compiled in. Listing them is worth doing on its own — a desktop whose shortcuts are only discoverable by reading its source is a desktop with no shortcuts, as far as most users are concerned — and the table this comes from is the same one the key handler dispatches through, so a listed binding is a binding that works.

action is a stable id ("workspace.switch"), meant for a settings app to key off; description is the sentence to show.

idl/lava.npidl:305

Fields

action: string

Not documented.

idl/lava.npidl:310

description: string

Not documented.

idl/lava.npidl:311

key: string

The key, or the range one binding covers: "1 … 9", "Return", "M".

idl/lava.npidl:309

modifiers: string

As a person reads it: "Alt", "Alt+Shift", "Alt+Ctrl".

idl/lava.npidl:307