@kecan0406/ttheme 1.0.33 → 1.0.34

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.
package/README.md CHANGED
@@ -48,7 +48,7 @@ get it.
48
48
  Terminal.app takes every OSC color but no OSC reset, so ttheme reads its
49
49
  colors when the shell starts and puts them back itself. Warp answers OSC
50
50
  color queries but paints one theme app-wide and never the background an OSC
51
- sets, so the shell layer stays off there and `ttheme <palette>` points you at
51
+ sets, so the shell layer stays off there and `ttheme use <palette>` points you at
52
52
  `ttheme default <palette>`, which puts the palette on every Warp window; any other terminal that speaks OSC 4/10/11 (foot, Konsole,
53
53
  VTE-based terminals…) gets repainting and nothing else.
54
54
  - **Font** — family and size everywhere it is marked; Ghostty also maps
@@ -142,7 +142,7 @@ palette as the one `theme` key of `[appearance.themes]` in `~/.warp/settings.tom
142
142
  It ends with a receipt, paints the first palette onto the tab you
143
143
  ran it in (not under `keep`) and lists what to do next (`exec zsh` for the
144
144
  `ttheme` command here, a terminal restart for new tabs).
145
- Running it again updates in place; `--yes` skips every prompt and installs no
145
+ Running it again updates in place; `--yes` (`-y`) skips every prompt and installs no
146
146
  palettes — `ttheme browse` opens the full catalog any time, to add or drop
147
147
  single palettes.
148
148
 
@@ -196,23 +196,28 @@ it for real.
196
196
 
197
197
  ```
198
198
  ttheme list every palette, grouped, with previews
199
- ttheme homura paint this tab (a unique prefix works: ttheme ho)
199
+ ttheme use paint this tab (a unique prefix works: ttheme use ho)
200
200
  ttheme preview browse live — focus repaints the tab, enter keeps it (this tab or default)
201
201
  ttheme next advance this tab to the next palette
202
202
  ttheme default make a palette the one new tabs open with
203
- ttheme off open new tabs in the terminal's own colors — ttheme on wears the default again
203
+ ttheme on wear the default palette in new tabs again
204
+ ttheme off take the palette and picture off every tab — the terminal's own colors until ttheme on
204
205
  ttheme pin pick a palette for this directory — cd into it repaints, cd out restores
205
206
  ttheme unpin drop the palette pinned to this directory
206
207
  ttheme config edit settings in $EDITOR — they apply in new tabs
207
208
  ttheme help the list above, in your terminal
208
209
 
209
210
  ttheme browse pick palettes from the catalog in a live picker
210
- ttheme list the catalog, ● installed and ○ not (a query filters it)
211
+ ttheme list the catalog, ● installed and ○ not (a query filters it, --json prints it as JSON)
211
212
  ttheme add install palettes from the catalog
212
213
  ttheme remove uninstall palettes
213
214
  ttheme update refresh the catalog from the registry
214
215
  ```
215
216
 
217
+ `ttheme <command> --help` (or `ttheme help <command>`) describes one command
218
+ without running it, and `ttheme --version` prints the version. `TTHEME_DEBUG=1`
219
+ in front of any command prints where an error came from, for a bug report.
220
+
216
221
  In `preview`, series and palettes are listed by name (`TTHEME_SORT=series`
217
222
  keeps the order they were added), groups start folded with the cursor on the
218
223
  current palette;
@@ -245,7 +250,7 @@ tab was painted.
245
250
  A palette can also bring a Ghostty background image. The block `init` writes
246
251
  includes `~/.config/ttheme/backgrounds/shown.conf` with an optional
247
252
  `config-file = ?…`, and that one line names the palette whose picture is up.
248
- Putting a palette on — `ttheme <name>`, enter in `preview`, `ttheme next`,
253
+ Putting a palette on — `ttheme use <name>`, enter in `preview`, `ttheme next`,
249
254
  `ttheme default`, cd into a pinned directory — rewrites the line and sends
250
255
  `SIGUSR2`, so whatever Ghostty settings you put in `<palette>.conf` arrive with
251
256
  the palette, and palettes without a file show no image:
@@ -612,7 +617,7 @@ mise run compat # the terminal compatibility cases, in each instal
612
617
  `mise run compat` opens each installed terminal behind your windows on a
613
618
  throwaway home (`mise run sandbox`), runs the cases in `tests/compat/cases.zsh`
614
619
  inside it — adapter detection, OSC set/query/reset, what the window really
615
- paints (read off a screenshot), `ttheme <palette>` and its restore, cell size,
620
+ paints (read off a screenshot), `ttheme use <palette>` and its restore, cell size,
616
621
  kitty graphics, synchronized output and focus reporting — and compares them
617
622
  with `tests/compat/expect.tsv`: a case that used to pass and fails is a
618
623
  regression and fails the run, and `--update` records what was measured.