logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xkb - This module monitors the currently active XKB keyboard layout

Configuration

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

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.

Examples

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

Name

xkb - This module monitors the currently active XKB keyboard layout

See Also

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

Tags

┌─────────────┬────────┬────────────────────────────────────────────────────────────────────────────────┐ │ NameTypeDescription │ ├─────────────┼────────┼────────────────────────────────────────────────────────────────────────────────┤ │ name │ string │ Name of currently selected layout, long version (e.g. "English (US)") │ ├─────────────┼────────┼────────────────────────────────────────────────────────────────────────────────┤ │ symbol │ string │ Name of currently selected layout, short version (e.g. "us") │ ├─────────────┼────────┼────────────────────────────────────────────────────────────────────────────────┤ │ caps_lock │ bool │ True if CapsLock is enabled │ ├─────────────┼────────┼────────────────────────────────────────────────────────────────────────────────┤ │ num_lock │ bool │ True if NumLock is enabled │ ├─────────────┼────────┼────────────────────────────────────────────────────────────────────────────────┤ │ scroll_lock │ bool │ True if ScrollLock is enabled │ └─────────────┴────────┴────────────────────────────────────────────────────────────────────────────────┘

See Also