@promptctl/cc-candybar 1.194.1 → 1.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.mjs +130 -124
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -45,7 +45,7 @@ Drop a `.cc-candybar.json5` (or `.cc-candybar.json` — both extensions are acce
45
45
  1. `$CC_CANDYBAR_CONFIG` in the statusline command's environment (`~` is expanded, and a relative path is relative to the directory Claude Code runs the statusline in). It is read by the client on every render and carried to the daemon, so it can differ per session. A path that names no file renders the bundled default under a `Config file not found` warning, and one the daemon cannot stat (behind an unsearchable directory, say) under `Config file could not be read` with the error — either way the bar stays live and loads the file once it can.
46
46
  2. `<project>/.cc-candybar.json5` (then `.json` at the same location)
47
47
  3. `<cwd>/.cc-candybar.json5` (then `.json`)
48
- 4. `$XDG_CONFIG_HOME/cc-candybar/config.json5` (then `.json`; defaults to `~/.config/cc-candybar/config.json5`)
48
+ 4. `$XDG_CONFIG_HOME/cc-candybar/config.json5` (then `.json`; defaults to `~/.config/cc-candybar/config.json5`). A session started with `CC_CANDYBAR_HOME` and `CC_CANDYBAR_NAME` runs on a renderer of its own, whose user file is `$CC_CANDYBAR_HOME/config/config.json5`.
49
49
 
50
50
  Without `$CC_CANDYBAR_CONFIG`, every file found is a layer: your user file merges over the bundled default, the cwd's over that, and the project's on top. So a project file declares only what that project adds or changes — a segment placed in a row, a plugin listed — and keeps the rest of your own config. `$CC_CANDYBAR_CONFIG` names the one file the session loads, and the others are not read. A change made from the bar (a theme picked and saved, a segment added in edit mode) is written to your user file, never to a project's; when a project file sets the same value, the click is refused and names that file.
51
51