yambar-modules-xkb - Man Page

This module monitors the currently active XKB keyboard layout

Description

This module monitors the currently active XKB keyboard layout and lock-key states.

Note: this module is X11 only. It does not work in Wayland.

Tags

NameTypeDescription
namestringName of currently selected layout, long version (e.g. "English (US)")
symbolstringName of currently selected layout, short version (e.g. "us")
caps_lockboolTrue if CapsLock is enabled
num_lockboolTrue if NumLock is enabled
scroll_lockboolTrue if ScrollLock is enabled

Configuration

No additional attributes supported, only the generic ones (see GENERIC CONFIGURATION in yambar-modules(5))

Examples

  bar:
    left:
      - xkb:
          content:
            string: {text: "{symbol}"}

See Also

yambar-modules-sway-xkb(5), yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)

Referenced By

yambar-modules(5), yambar-modules-sway-xkb(5).

2024-07-20