You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three fixes surfaced during a from-scratch install walkthrough:
- codexbar.sh now reads the enabled-provider list from
~/.codexbar/config.json (with a (codex claude gemini) fallback when the
config is missing). Override per-instance with CODEXBAR_PROVIDERS. A
Codex-only user no longer sees Claude/Gemini error tabs in the popover.
- The module's interval drops from 60s to 30s and declares signal 8 so
pkill -RTMIN+8 waybar triggers an immediate refresh. The popover sends
that signal right after a Settings Save so the bar reflects the new
provider list without waiting for the next tick.
- install.sh hard-fails when 'codexbar' is missing from PATH and prints
the exact tarball + libxml2-legacy commands inline, instead of leaving
the user with a silent half-install.
Also fixes codexbar.jsonc click handler that still pointed at notify-send
instead of the GTK popover.
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,12 +121,16 @@ definition or your shell profile.
121
121
| --- | --- | --- |
122
122
|`CODEXBAR_BIN`|`~/.local/bin/codexbar`| Path to the CLI binary. |
123
123
|`CODEXBAR_STAGGER`|`0.5`| Seconds between provider fetches (raises this if Claude OAuth keeps 429-ing). |
124
+
|`CODEXBAR_PROVIDERS`| from config.json | Space-separated provider IDs to query, bypassing `~/.codexbar/config.json`. Set per-Waybar instance if you want different provider sets per monitor. |
124
125
|`XDG_CACHE_HOME`|`~/.cache`| Where `last.json` snapshots live. |
125
126
|`CODEXBAR_LAYER_SHELL_LIB`| auto-detected | Override path to `libgtk4-layer-shell.so` if your distro stashes it somewhere unusual. |
126
127
127
-
To change which providers appear, edit `PROVIDERS=( … )` and `SOURCE_OVERRIDES`
128
-
at the top of `codexbar.sh`. Codex and Claude need `--source oauth` on Linux
129
-
because their `auto` source tries the (macOS-only) web scrape first.
128
+
To change which providers appear, open the popover and click **Settings…** —
129
+
the inline view lets you toggle providers and Save back to
130
+
`~/.codexbar/config.json`. The wrapper script picks up the new list on the
131
+
next refresh (the popover nudges Waybar to refresh immediately via
132
+
`SIGRTMIN+8`). Codex and Claude need `--source oauth` on Linux; the wrapper
133
+
sets that automatically via `SOURCE_OVERRIDES` at the top of `codexbar.sh`.
0 commit comments