Skip to content

feat(noctalia): add CodexBar subscription meter - #106

Merged
CollieIsCute merged 4 commits into
masterfrom
feat/noctalia-codexbar-meter
Aug 18, 2026
Merged

feat(noctalia): add CodexBar subscription meter#106
CollieIsCute merged 4 commits into
masterfrom
feat/noctalia-codexbar-meter

Conversation

@CollieIsCute

@CollieIsCute CollieIsCute commented Aug 15, 2026

Copy link
Copy Markdown
Owner

目的

在 Noctalia 主列顯示 Codex 與 Claude Code 的訂閱用量/狀態,並用既有 dotfiles 套件流程管理 CodexBar。

變更

  • 啟用 salemsayed/codexbar-meter 與 Noctalia plugin auto_update,並把 AI usage 放在左側 tray 的右邊。
  • 在 Arch/paru 套件清單加入 codexbar-cli-bin;不再使用自製 GitHub release updater。
  • 不設定 codexbarPath,使用套件原生安裝的 /usr/bin/codexbar 與 Noctalia 繼承的預設 PATH。
  • 以 private chezmoi modifier 管理 ~/.config/codexbar/config.json:只把 Codex 與 Claude 設成 enabled + OAuth,保留其他 provider、秘密與自訂欄位,權限維持 0600。
  • 跨平台 CI 維持只驗證完整 chezmoi apply,不加入 CodexBar 專項檢查;repo 不保留 tests/

更新行為

  • Noctalia plugin 由 Noctalia 的 auto_update 更新。
  • CodexBar 由 paru/AUR 隨一般套件更新;目前 AUR codexbar-cli-bin 是 0.45.2,不保證與 upstream release 同步到同一天。

驗證

  • 本機精準 chezmoi apply 成功,重跑後 chezmoi status 無差異。
  • 以 plugin 相同命令實查:Codex 與 Claude 都回傳 source=oautherror=null
  • 本機沒有使用 Podman;完整跨發行版 apply 僅交由 GitHub Actions。

@CollieIsCute
CollieIsCute force-pushed the feat/noctalia-codexbar-meter branch from 9853e4b to 167781f Compare August 16, 2026 15:54
Enable the community CodexBar Meter plugin with automatic source updates and place its widget on the main bar.
Replace the custom GitHub release updater with the Arch package declaration. Keep Codex and Claude on OAuth through a private chezmoi modifier, and verify the default binary path in CI.
@CollieIsCute
CollieIsCute force-pushed the feat/noctalia-codexbar-meter branch from 167781f to 629c52d Compare August 17, 2026 19:02
Keep the distribution workflow focused on whether the complete chezmoi apply succeeds instead of checking each CodexBar behavior separately.
@CollieIsCute
CollieIsCute merged commit bca04a8 into master Aug 18, 2026
4 checks passed
@CollieIsCute
CollieIsCute deleted the feat/noctalia-codexbar-meter branch August 18, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant