sway-xkb - This module monitor input devices’ active XKB layout
This module uses Sway extensions to the I3 IPC API to monitor input devices’ active XKB layout. As such, it requires Sway to be running.
Note that the content configuration option is a template; sway-xkb will instantiate a particle list, where each item is instantiated from this template, and represents an input device.
bar:
left:
- sway-xkb:
identifiers:
- 1523:7:HID_05f3:0007
- 7247:2:USB_USB_Keykoard
spacing: 5
content: {string: {text: "{id}: {layout}"}}
yambar-modules-xkb(5), yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)