Repository navigation
Description
Problem
With the macOS menu bar hidden, and always with Always hide (bar.hideMenuBar), the Menu bar items row is the only way to reach a third-party menu bar app: rest on the row, find the app's icon among all the others, then click it. An app used all day, such as CodexBar for AI usage limits, deserves a place on the bar of its own, the way Control Center has one.
Proposal
-
A
menuBarItemwidget names one item by its app, as a bundle ID or app name, and, for an app with several items, by the item's Accessibility identifier or title, as Show menu bar extras in the bar #83 proposed formenuExtra:{ "id": "codexbar", "type": "menuBarItem", "position": "right", "app": "com.steipete.codexbar" } -
It shows the icon the Menu bar items row shows for that item (
menuBarIcon(identifier:app:)), with the item's name as its tooltip;iconor alayoutcan replace it. It draws no live image of the item, so it needs Accessibility only, like the row. -
Clicking it opens the item as the row does, through the code
openControlCenter()uses (pressInMenuBar), so it works while the menu bar is hidden. A menu StableBar can't draw, such as CodexBar's (Menu bar items drops CodexBar's usage cards and garbles its first row #346), opens as the app's own menu. -
Other widgets and blocks get the same action, for example as
openMenuBarItem, so a script or package widget that draws CodexBar's limits can open CodexBar's menu when clicked. Likeopen, it runs no command, so packages without commands could use it too. -
When the app isn't running or has no such item, the widget hides.
-
Add widget, the schema, the Accessibility permission list and
docs/widgets.mdinclude it, like Control Center.
Possible today
Partly. The Menu bar items row reaches every item, one step later, and redraws ordinary menus (#346). A script could press the item through System Events with osascript, at the cost of Automation access and without the hidden menu bar handling that pressInMenuBar does.
Related
- Show menu bar extras in the bar #83 proposed a
menuExtrawidget for one item, drawn from a live image of it, which needs Screen Recording. feat: open Control Center and the macOS menu bar's items from the bar #311 closed it with the Control Center widget and the Menu bar items row, which need only Accessibility. This asks for the one-item widget without the live image, which could follow as an option. - feat: open Control Center and the macOS menu bar's items from the bar #311's
openControlCenter()already opens one app's item by bundle ID this way. - Keep the macOS menu bar hidden while StableBar runs #310: Always hide makes the row the only way to reach these items.
- Open the Menu bar items row on hover #320 opens the row on hover.
- Menu bar items drops CodexBar's usage cards and garbles its first row #346: CodexBar's menu loses its usage cards when redrawn.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
Seb-GRAF commentedon Oct 28, 2026
Thanks for this one ❤️ #356 covers it: you can now put the items you use, like CodexBar, on the bar next to the Menu bar items grid, from Settings or with a right-click in the row