# StableBar

一款 macOS 菜单栏替代工具：七款主题、用命令或商店添加的小组件、弹出面板，并能跟随 AeroSpace、yabai 等工作区管理器。

> 这是 OpenNavo 上 StableBar 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/stablebar>

- **最新版本**: `0.20.0`
- **开发者**: Sebastien Graf and Steve Mendes Reis
- **主页**: <https://stablebar.app/>
- **分类**: [菜单栏](https://opennavo.com/zh/categories/menu-bar)
- **安装**: `brew install --cask stablebar`
- **近 30 天安装**: 81
- **Homebrew**: 可以安装，应用会自行更新
- **下载地址**: <https://github.com/stablebox/StableBar/releases/download/v0.20.0/StableBar.dmg>
- **SHA-256**: `45259b8d9c73960731975dd4e00574cb04e8d0323bf43630cf120a4a3f924f46`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "org.stablebar.app"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "StableBar.app"
      ],
      "target": "/Applications/StableBar.app"
    },
    "phase": "install",
    "sources": [
      "StableBar.app"
    ],
    "target": "/Applications/StableBar.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/StableBar",
            "~/Library/Caches/org.stablebar.app",
            "~/Library/Caches/org.stablebar.app.sparkle",
            "~/Library/Caches/StableBar",
            "~/Library/HTTPStorages/org.stablebar.app",
            "~/Library/HTTPStorages/org.stablebar.app.binarycookies",
            "~/Library/Preferences/org.stablebar.app.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

StableBar 是 Sebastien Graf 与 Steve Mendes Reis 开发的 macOS 14 及以上菜单栏替代工具，用一条可配置的栏替换系统菜单栏，提供主题、小组件、弹出面板和工作区。

- 内置七款主题（Glass、Clear、Tonal、Slim、Dot、Gloss、Sticker），应用内商店有更多，也能把自己调好的外观存为主题。
- 小组件显示当前应用、时钟、电池、系统状态和播放控制；任何输出文本或 JSON 的命令也能做成小组件，按定时或事件刷新。
- 小组件可打开带图表、列表和控件的弹出面板；商店中的包在运行前会列出它调用的命令、连接的主机和用到的 macOS 权限。
- 工作区来自 AeroSpace、yabai、OmniWM、Rift 或 KiwiDesk；没有平铺管理器时显示 macOS 空间。
- 右击栏选「就地编辑栏」可拖动小组件、用 + 添加、用 − 移除，并支持撤销；每个小组件、样式和弹出面板也能在设置或 `~/.config/stablebar/config.json` 中配置，保存即生效。
- 每台显示器各自一条栏，并为刘海留出位置。

按官网和 GitHub README（2026-11-27 核对），StableBar 免费且开源；项目写明需要 macOS 14 及以上，支持 Apple 芯片。

用 Homebrew Cask 安装：`brew install --cask stablebox/tap/stablebar`，或下载 `StableBar.dmg` 拖到「应用程序」。版本会自行更新。

[官方网站](https://stablebar.app/) · [GitHub](https://github.com/stablebox/StableBar)

## 系统要求

- macOS 14 起 · 应用版本: 0.20.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 核查于 2026-12-02
  - <https://github.com/stablebox/StableBar/releases/download/v0.20.0/StableBar.dmg>
  - SHA-256: `45259b8d9c73960731975dd4e00574cb04e8d0323bf43630cf120a4a3f924f46`

## 价格

- 免费 — 官网: <https://stablebar.app/> · <https://stablebar.app/> · 核查于 2026-11-27

## StableBar 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/stablebox/StableBar> · 是否开源: 是 — <https://github.com/stablebox/StableBar> · 核查于 2026-11-27

## 卸载

- `brew uninstall --cask stablebar`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask stablebar`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/StableBar` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/org.stablebar.app` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/org.stablebar.app.sparkle` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/StableBar` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/org.stablebar.app` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/org.stablebar.app.binarycookies` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/org.stablebar.app.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-02；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 2026-11-prerelease (2026-11-01)

Images for the before and after screens the bot posts on pull requests. An unmerged pull request's images are deleted when it closes.

## 资料与来源

- <https://opennavo.com/zh/apps/stablebar>
- <https://opennavo.com/zh/apps/stablebar/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/stablebar.rb> · 核查于 2026-12-02
- <https://formulae.brew.sh/cask/stablebar>
- <https://stablebar.app/> · 核查于 2026-11-27
- <https://github.com/stablebox/StableBar> · 核查于 2026-11-27
