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.trueif CapsLock is enabled πnum_lockβ type:bool.trueif NumLock is enabled πscroll_lockβ type:bool.trueif 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 π
yambar-modules-sway-xkb(5)yambar-modules(5)yambar-particles(5)yambar-tags(5)yambar-decorations(5)
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
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms