yambar-modules-xkb(5)

✨ xkb ✨

okay so bestie, welcome to yambar-modules-xkb(5) β€” the manual page for the xkb module πŸ’… this one is honestly iconic in the simplest way: it just sits there watching your keyboard layout, and reports back. no cap.

🌸 NAME 🌸

xkb β€” this module monitors the currently active XKB keyboard layout πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, the xkb module keeps an eye on two things for you: the currently active XKB keyboard layout πŸ’– and your lock-key states πŸ”₯ that's it, that's the whole job, and it does it flawlessly.

⚠️ heads up bestie ⚠️ this module is X11 only. it does not work in Wayland. not even a little. fr fr. 😭

πŸŽ€ TAGS πŸŽ€

here's everything this module exposes, laid out all pretty for you bestie 🫢

  • name β€” type: string. the name of the currently selected layout, the long version (like, "English (US)" β€” she's giving main character energy, full government name πŸ’…)
  • symbol β€” type: string. the name of the currently selected layout, the short version (like "us" β€” casual, lowkey, on a first-name basis ✨)
  • caps_lock β€” type: bool. true if CapsLock is enabled πŸ‘‘
  • num_lock β€” type: bool. true if NumLock is enabled πŸ“
  • scroll_lock β€” type: bool. true if ScrollLock is enabled πŸ¦‹

πŸ’œ CONFIGURATION πŸ’œ

ngl there are no additional attributes supported here β€” literally none, she's low-maintenance like that πŸ™ˆ you only get the generic ones (peep GENERIC CONFIGURATION in yambar-modules(5) if you need a refresher bestie πŸ’–).


🌈 EXAMPLES 🌈

okay here's the whole vibe β€” drop this into your bar: config and your layout symbol will just appear ✨

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

look at that. flawless. ate and left no crumbs πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, they're all besties πŸ’…


and that's the whole page bestie!! πŸ’– this little cutie is from the yambar-modules-xkb(5) File Formats Manual, dated 2024-04-22 β€” mwah, go forth and monitor those layouts βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from