Bar: add an overflow region so the bar can hold more widgets than fit
The problem
The bar has three regions (left, center, right) and one instance. Once a
session has enough bar widgets, they stop fitting and the regions overlap — on a
laptop at 2048px undocked, with 38 layout entries, the right and center sections
collide and the only fix today is to remove widgets. There is no place to move
them to.
The system tray already solves this shape of problem for itself: omarchy.tray
keeps a pinned set inline and puts the rest in a drawer behind a chevron. Bar
widgets have no equivalent.
Why a plugin can't fix it
I built one to try (io.github.tomfaulkner.tray, a popout grid of tiles) and it
works for most widgets but not all, because of how services are scoped:
shell.serviceFor(id)answers only for the calling plugin's own id, and- hosted widgets only get a live service when the trusted built-in bar
instantiates them —
Bar.qmlreachesshell.pluginShellForId(), which is not on the capability-scoped API a third-party plugin receives, so any other host falls through to the service-lesspluginShellForBarEntryfacade.
So a plugin that renders another plugin's widget gets a component that mounts but cannot reach its own service. In my installed set that is 7 of 31 bar widgets (hass, omarr, lotus, recall, omarewind, omaconnect, tomato-timer); the other 24 work fine. A third-party tray can never close that gap, because the gap is the trust boundary. Anything that fixes it has to live in the bar.
Proposal: bar.layout.overflow, a fourth region
{
"bar": {
"position": "top",
"layout": {
"left": [{ "id": "omarchy.menu" }, { "id": "omarchy.workspaces" }],
"center": [{ "id": "omarchy.clock" }],
"right": [{ "id": "omarchy.audio" }, { "id": "omarchy.power" }],
"overflow": [
{ "id": "hegjon.unifi" },
{ "id": "zeru.portwatch" },
{ "id": "io.github.qadram.nvme-health" }
]
}
}
}
Entries stay ordinary layout entries — same ids, same inline settings, same
omarchy bar move plumbing with --section overflow — but instead of being laid
out in a row they render inside a drawer anchored to an opener at the inner end
of a section (right by default, configurable). Because the bar is the host,
every widget in the drawer keeps its service: popups, tooltips, drag, and the
updateEntryInline settings round-trip all work as they do today.
Behaviour:
- Opener appears only when
overflowhas entries; no entries, no opener, no change at all for existing configs. - Click opens the drawer; it joins the existing one-popout-at-a-time coordinator so it cannot sit open next to another bar popup, and closes on outside click or Esc.
- Drawer contents reuse the existing
ModuleSlotcomponent, so a widget in the drawer is the same thing the bar would have drawn inline — one instance, no duplicate IPC handlers. - One drawer per bar surface, opening on the monitor whose bar was clicked; keyboard navigable like the other popups.
- Drawer size follows the content, capped to the screen.
Compatibility: purely additive. Configs without the key are untouched, so no
migration. One internal note — BarModel.inlineSettingsDelta hardcodes
["left", "center", "right"], so the region needs adding there or settings edits
to a drawer entry won't reach a live widget (they'd take effect on the next
rebuild instead, which would still be correct, just less immediate).
Non-goals: no change to omarchy.tray or its SNI drawer; no per-monitor
layouts; and drag-reorder between the drawer and the sections can stay out of
the first pass.
Alternatives considered
- Per-entry
"overflow": trueflag on any layout entry. More flexible, but the opener's position and the section bookkeeping get murkier, and it makes "where did my widget go" harder to answer from the config alone. - Auto-collapse when the bar is full. Nice, but it needs a width model for every widget and it moves widgets around behind the user's back. Explicit is better here, and it matches how the tray drawer already works.
- Leave it to plugins. Tried; see above — it cannot host service-backed widgets, and every plugin author would re-solve this differently.
I'd like to implement this
Happy to write it: BarModel.js (region normalization, inlineSettingsDelta),
Bar.qml (skip overflow entries in the section rows, opener module, drawer built
from ModuleSlot inside a KeyboardPanel/PopupCard, wired into
activePopout), a test/shell.d/bar-overflow-test.sh, plus the bar README
schema and manual/05-the-top-bar.md. Tell me if you'd rather it take a
different shape first — the config surface is the part worth agreeing on before
any code.
For reference, this is what the plugin version looks like in use, which is the behaviour I'd be proposing for the drawer: popout grid with groups, and a fuzzy finder over the same tiles.


Running Omarchy 4.0.3-1.
Makes sense — tray already solved this shape with a chevron drawer. An overflow region (or per-region “more” drawer) would beat asking people to delete widgets on small laptop widths.
Related polish: #15238 (panel scrollbar while content overflows). Product call on whether overflow belongs in core bar vs. a layout plugin.
I think it needs to be a native feature. Maybe make it extendable with a reasonable API so users can choose plugins to implement the UI.
My tray plugin works well, but native would improve upon it.
For anyone landing here: the stock bar now has a tray section in bar.layout that covers most of this. Bar widgets listed there sit in omarchy.tray's drawer, behind the chevron. The built-in bar draws them itself, so the service-scoping problem described above shouldn't apply.
"tray": [
{ "id": "omarchy.tailscale" },
{ "id": "crmne.hyprmoncfg" }
]
Dragging a widget along the bar also opens the drawer, so you can drop it in. I moved seven widgets there today (4.0.0.r7620) to stop the right and center sections overlapping.
What's still missing is handling a bar that doesn't fit: today one section draws over the other with no warning. I've written that up separately in Suggestions: https://github.com/omacom/omarchy/discussions/18157