dimble README

项目的 README,来自 github.com/fif7y/dimble。合并为一个 markdown 文件:README.md。

Dimble, a calm menu bar for macOS

Website: dimble.fif7y.com Download latest release Requires macOS 27 or later License: GPL-3.0 Dimble on AlternativeTo Sponsor Dimble

Dimble is a menu bar manager for macOS 27 with just the right features and a lot of attention to detail. It keeps your Live Activities on the bar while everything else is hidden, a click opens the card. The icons you don't need tuck away and come back the instant you ask, in the menu bar, a panel or a row under it. macOS does the hiding. Free, open source, no account, no analytics.

[!TIP] Beta channel. Fixes and new features land there first, a stable release rolls them up every week or two. Turn on "Get beta releases" in Settings › About, or download the latest beta:

Latest beta

The menu bar on a hover. Hidden icons slide out from behind the chevron, then tuck back in
Collapsed, and a hover later.

Choose what stays

Three sections, one rule: Visible is always there, Hidden comes back on a hover or a click, and Always Hidden only appears when you ask for it (double-click or ⌥-click the chevron, or a middle-click once you turn it on). Arrange them in the layout editor (real app-icon previews, drag-and-drop ordering): the editor is a drawing the bar follows, and Apply lays the bar out to match it in one pass. Or skip the window entirely and ⌘-drag icons across the chevron right in the menu bar. Dimble records that move in the editor and leaves the rest where they are. And when macOS or an app shifts an icon out of that order, Dimble puts it back on its own the next time you pause.

The layout editor under the menu bar: Spotify is dragged from Hidden to Visible, nothing moves in the bar, Apply lights up, one press and Spotify appears in the bar
The layout editor is a drawing the bar follows. Drag Spotify to Visible and nothing moves yet. Press Apply and it's there. Or leave it, and Dimble does it the next time you pause.

Apply reveals what it needs, lays the whole bar out in one pass with the pointer hidden for a moment, and reports what it did next to the button. On a full bar it opens macOS's own « for an icon drawn behind it, moves it, and closes the « again. A "New items" tile shows where icons Dimble has never seen will land. Updating leaves your bar alone. The first time Dimble sees a section out of order, it takes that section's order from the bar instead of moving anything. And a pending update shows as a banner on every Settings pane, with a daily reminder until you install it.

System icons hide too. Sound, Battery and friends behave like any other icon. The few macOS protects (Clock, Control Center) are shown locked in the editor rather than pretended away, and anything macOS groups together gets an honest badge instead of a fake handle. Siri and Time Machine, which macOS only hides as a pair, come as Dimble's own items so each can go wherever you like.

Reveal on your terms

Every way back in is a setting: hover (with a delay from 0.1 to 0.5 seconds), a click on empty menu bar space, a double-click for the always-hidden section, or the chevron itself. The keyboard works too, from any app. ⌥⌘, shows the hidden icons and ⌃⌥⌘, brings the always-hidden ones with them (you can change both in Settings › General). Always Hidden on its own can get a key too, and a middle-click on the chevron can show either section. Pick how it looks (Instant, Smooth or Fade) and how it ends, either auto-rehide after a delay you set (instant to 5 seconds) or the moment you click somewhere else.

Behavior pane: Instant, Smooth and Fade animation cards with a live preview, the icon spacing slider with its Apply button, Reveal on hover with a delay menu, reveal on click in empty space and double-click for Always Hidden, Hide again after a delay you pick or when you click elsewhere, and the right-click menu card where you tick and reorder what the chevron's menu shows
Your rules for revealing, and for putting everything back.

Hidden icons in a panel

Hidden icons don't have to slide back into the bar. Turn on Panel and they open as tiles in a panel under the menu bar, and the bar stays put. Each tile is a picture of the real icon, and a click opens that icon's real menu. Settings › Panel has the switch, with Menu bar as the default and Row as the same tiles in one strip. It's the big new feature in 0.3.2 (#26).

The hidden icons in a panel: a hover opens the panel under the menu bar, a click on the +3 fold opens Always Hidden, typing ta narrows it to Tailscale, Return closes the panel and Tailscale's menu drops from its own icon
Hover, open the fold, type "ta", Return. Tailscale's menu drops from its own icon.

Panel pane: the Menu bar, Panel and Row choice for where hidden icons open, a live preview of the panel, and the columns, fold style, Always Hidden, show names, closed apps and separator options
Where hidden icons open, and how the panel looks.

Search the menu bar

Press ⌥⌘K, type a few letters, press Return, and that icon's menu opens right from its real icon, hidden or not. The arrow keys work in the menu like they normally do. Search knows the short names people type (bt, wifi) and puts the icons you open most first. It finds Dimble's settings too, and ⌘K on a result moves it to another section or gives it its own shortcut. What it learns stays on your Mac. New in 0.3.1.

Dimble Search: ⌥⌘K opens a search panel under the menu bar, typing bt finds Bluetooth, Return opens Bluetooth's menu from its own icon and the arrow keys move down it
⌥⌘K, "bt", Return. Bluetooth's menu drops from its own icon.

Keep your Live Activities

A game's score, a Shortcut running: macOS shows those in a pill beside the clock, and it takes the pill off the bar while your icons are hidden. Dimble keeps it there. The pill sits next to the chevron for as long as the activity runs, a click opens its card, and the system icons come back alongside it. It's on by default, and it needs Screen Recording. Settings › Menu Bar › "Show Live Activities" turns it off. New in 0.3.4. macOS 27.3's "System & App Protection Override" pill is the one left out by default. A Mac with Dimble has it up all day, so Settings › Menu Bar › Live Activities brings it back if you want it.

A hockey game's Live Activity next to the chevron while Dimble hides the rest of the icons: the pill comes out of the bar, a click opens its card, the score rolls from 2 to 3, a second click closes the card, and the pill goes away at the final buzzer
The game's pill stays on the bar. A click opens its card.

Dimble has twelve Shortcuts actions. Get Menu Bar Layout gives back your whole layout as text (JSON). Set Menu Bar Layout puts every icon where that text says, in one go. Keep the text in a file to bring the layout back later, or on another Mac. You get a list of the icons it couldn't find. New in 0.4.1.

dimble:// links do the smaller changes without Shortcuts, from a launcher or a script.

Link What it does
dimble://show Shows the Hidden icons (show-all adds Always Hidden)
dimble://hide Puts them back (toggle does one or the other)
dimble://search?q=Tailscale Opens Search with the text typed in
dimble://move?icon=Tailscale&to=hidden Moves an icon to visible, hidden or always-hidden
dimble://move?icon=Tailscale&after=Bluetooth Moves it next to another icon (before works too)
dimble://add-separator?after=Tailscale Adds a separator (to=hidden adds it to that section)
dimble://remove-separator?after=Tailscale Removes that separator

An icon goes by the name Settings shows. If two share a name, use the id from the layout. A space is %20, as in Little%20Snitch. Any web page can open a link, so a link can't read your layout, click an icon or change a setting.

In Terminal, open -g runs a link. An action goes in a shortcut first. Run that once in the Shortcuts app and pick Always Allow, or Terminal waits on macOS's prompt. With Get Menu Bar Layout in a shortcut named Menu Bar Layout, the second line saves your layout to a file.

open -g "dimble://toggle"
shortcuts run "Menu Bar Layout" --output-path layout.json --output-type public.plain-text < /dev/null

And the rest

General settings: launch at login, the menu bar icon toggle with nine icon styles, the accent color swatches, the right-click menu, a Shortcuts card (show hidden icons, show Always Hidden too, search the menu bar, open Notification Center, open Settings), the display language picker and the Accessibility and Screen Recording permission status
General. Pick the icon Dimble wears, or your language.

How it works

macOS 27's menu bar can hide items natively. It's the mechanism behind the system's assessment (exam lockdown) mode. Dimble drives that mechanism directly. It asserts a configuration listing what should stay visible, and macOS itself hides the rest and reflows the bar. That's why hiding feels like part of the system. It is the system.

The catch: this API lives in a private Apple framework (MenuBarClientCore). It isn't documented or guaranteed, so a macOS update could change or remove it. Dimble resolves it at runtime and fails soft. If the API ever disappears, Dimble simply reports hiding as unavailable rather than breaking your menu bar. Everything else (item positions, clicks, previews) uses public APIs: Accessibility and ScreenCaptureKit.

Install

Download the latest DMG from Releases, drag Dimble to Applications, and launch it. Or with Homebrew:

brew install --cask dimble

Requires macOS 27 (Golden Gate). Earlier versions of macOS use a different menu bar architecture that Dimble doesn't target.

On first launch Dimble asks for one permission:

Screen Recording is optional, offered next to Accessibility in onboarding and skippable. The animation styles use it: macOS shows and hides icons with an animation of its own, and Dimble's Instant, Smooth and Fade play over it using two stills of the menu bar. Nothing is recorded or kept. Without it, icons show and hide the way macOS does it.

Dimble is notarized by Apple and ships with the hardened runtime. It isn't sandboxed, managing the menu bar requires APIs the App Store sandbox forbids.

More in the FAQ.

Build from source

Requires Xcode with the macOS 27 SDK and xcodegen.

git clone https://github.com/fif7y/dimble.git
cd dimble
xcodegen
xcodebuild -project Pelmet.xcodeproj -scheme Pelmet -configuration Release build

The engine logic lives in two local Swift packages, Packages/PelmetCore (section model, rehide state machine) and Packages/PelmetEngine (menu bar convergence), each with its own test suite:

swift test --package-path Packages/PelmetCore
swift test --package-path Packages/PelmetEngine

UI strings live in Pelmet/Resources/Localizable.xcstrings, generated from the translation table in scripts/gen-xcstrings.py. Edit the script, re-run it, commit both. English keys must match the code literals exactly.

Why "Dimble"

dimble (n.), a secluded hollow, a hiding place. Now also the same thing, for your menu bar's icons. It was called Pelmet up to 0.3.1, and Pliss for one beta.

Licenses & acknowledgements

Dimble's macOS 27 approach is based on the work of Thaw, whose maintainers worked out how the rebuilt menu bar can be managed, in public, during the macOS 27 betas (thaw-app/Thaw#687). Thaw is a fork of Ice, the open-source menu bar manager for earlier versions of macOS, which is what got Dimble started in the first place.

Dimble's only third-party dependency is Sparkle (in-app updates), used under the MIT-style Sparkle license. Everything else is custom code on top of Apple's system frameworks.

License

© 2026 Gabriel Faucon. Licensed under the GNU General Public License v3.0. Use it, fork it. Distributed derivatives must remain open under the same license.

Dimble is an independent project, not affiliated with or endorsed by Apple Inc. Apple, macOS, and the Mac are trademarks of Apple Inc.

dimble (fif7y/dimble)

正在搜索数据库…

这是干什么的?Pelmet 是一款免费开源的 macOS 菜单栏管理工具:它会把你暂时用不到的图标隐藏起来,等你需要时,悬停、点击或按快捷键就能让它们重新出现。
它和 Bartender 或 Ice 有什么不同?它们的用途相同(这个仓库的标签就写着是这两者的替代品),但 Pelmet 是为 Apple 在 macOS 27 中重新设计的菜单栏从零重写的,与 Ice 没有任何共享代码。隐藏工作由 macOS 自己完成:Pelmet 调用的是系统自带的原生隐藏机制,所以用起来就像操作系统的一部分。
第一次启动它会要求哪些权限?只有一项是必需的:辅助功能(Accessibility)——Pelmet 靠它识别菜单栏上的图标,并能在不全部展开的情况下点击被隐藏的图标。屏幕录制是可选的,只用于 Instant、Smooth 和 Fade 这几种展开动画,不会录制或保存任何内容。
macOS 更新之后它有没有可能失效?理论上有可能:隐藏功能依赖一个 Apple 未公开的私有 API(MenuBarClientCore)。Pelmet 会在运行时解析这个 API,并且采取温和的失败方式——万一这个 API 消失了,它会提示隐藏功能不可用,而不是弄坏你的菜单栏。
它会不会偷偷联网上传数据?不会——没有账号,没有数据统计,也没有服务器。它唯一会发起的连接就是检查自身更新,更新通过 Sparkle 下发,并对照经过签名的 appcast 校验 EdDSA 签名。
我可以 fork 它吗?许可证有什么要求?它采用 GPL-3.0:可以自由使用和 fork,但分发出去的衍生作品必须在同一许可证下保持开源。它唯一的第三方依赖是 Sparkle,以 MIT 风格的许可证使用。
被隐藏的图标怎么恢复显示?随你喜欢:悬停(延迟可在 0.1 到 0.5 秒之间设置)、点击菜单栏的空白区域、双击恢复 Always Hidden 分区,或者直接点那个折叠箭头。你还可以选择动画效果(Instant、Smooth、Fade),并决定图标是在你设定的延迟后重新隐藏,还是你一点别处就立刻隐藏。
它能隐藏电池、声音这类系统图标吗?可以——它们和其他图标的表现一样。macOS 加以保护的少数几项(时钟、控制中心)会在编辑器里显示为锁定状态;成组的项目会带上一个明确的标记;而 Siri 和时间机器是 Pelmet 自带的替代项,因此可以分别放置。
它还能往菜单栏里放什么?有一批内置的替代控件,隐藏后依然可用:媒体控制、AirDrop、摄像头/麦克风指示器、计时器、专注模式、快速用户切换和快捷指令。它还能添加应用启动器(点击即可打开任意应用)以及透明度可调的分隔符。
它支持多显示器吗?支持,而且是按显示器分别设置:你可以让任意一台显示器始终显示全部图标,或者处于折叠状态,而指针所在的那台显示器说了算。
作者
fif7y
大小
27.4 MB
星标
1.2K
时长
3个月
提交 · 90 天