- Map the xkb brief that shortLabel() returns to a regional-indicator
pair: EN -> US flag, PT -> Portugal flag. Anything unlisted falls back
to the text label, so adding a third layout degrades to "DE" rather
than rendering nothing. The flags are not glyphs in the bar font
(CaskaydiaMono) — they resolve via fontconfig fallback to Noto Color
Emoji.
- Size the label explicitly rather than at Style.font.caption: a flag
reads far smaller than letterforms at the same point size. Pinned in
Style.space units so it holds its pixel size across shell base-size
changes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
KeyboardLayout.qml and KeyboardLayoutModel.js exactly as they ship in
omarchy-dev 4.0.0.r1744.gf002044 (shell/plugins/bar/widgets/), alongside
the manifest `omarchy plugin clone` generates — upstream has no per-widget
manifest, the widgets share the shell's registry.
Kept on its own branch so `git diff stock..master` shows precisely what
this fork changes.