@kecan0406/ttheme 1.2.8 → 1.2.10
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 +15 -6
- package/bin/ttheme.js +429 -229
- package/bin/ttheme.js.map +1 -1
- package/dist/manifest.json +127 -16
- package/package.json +1 -2
- package/shell/adapters/_bg.zsh +52 -5
- package/shell/adapters/_osc.zsh +20 -10
- package/shell/adapters/_wired.zsh +4 -0
- package/shell/adapters/iterm2.zsh +86 -10
- package/shell/adapters/konsole.zsh +225 -21
- package/shell/adapters/terminal-app.zsh +265 -6
- package/shell/adapters/warp.zsh +65 -20
- package/shell/adapters/wezterm.zsh +13 -4
- package/shell/preview.zsh +2255 -0
- package/shell/ttheme.zsh +78 -2023
package/README.md
CHANGED
|
@@ -166,16 +166,16 @@ from the booru the way `find` does.
|
|
|
166
166
|
| `ttheme config` | Settings in `$EDITOR` |
|
|
167
167
|
|
|
168
168
|
`ttheme help` shows the three to start with and the rest by task; `ttheme help
|
|
169
|
-
all` lists every command. Preview's keys, directory pins,
|
|
170
|
-
tabs and every setting are in [docs/usage.md](docs/usage.md).
|
|
169
|
+
all` lists every command. Preview's keys and the mouse, directory pins,
|
|
170
|
+
rotating new tabs and every setting are in [docs/usage.md](docs/usage.md).
|
|
171
171
|
|
|
172
172
|
## Terminal support
|
|
173
173
|
|
|
174
174
|
| | Ghostty | iTerm2 | kitty | Alacritty | WezTerm | Windows Terminal | Warp | Konsole | Terminal.app |
|
|
175
175
|
|---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
|
176
|
-
| **Setup with `init`** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
176
|
+
| **Setup with `init`** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
177
177
|
| **Runtime repaint** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
178
|
-
| **Background pictures** | ✅ | ✅ | ✅ | — |
|
|
178
|
+
| **Background pictures** | ✅ | ✅ | ✅ | — | ✅ | — | ✅ | ✅ | ✅ |
|
|
179
179
|
|
|
180
180
|
Nothing is emulated — a terminal that cannot express something does not get it.
|
|
181
181
|
Any other terminal that speaks OSC 4/10/11 gets runtime repainting. A default
|
|
@@ -191,8 +191,8 @@ A palette can wear a picture behind the text. ttheme ships none: `ttheme
|
|
|
191
191
|
preview` → enter, then `f` in the picture panel searches danbooru, konachan, yande.re and zerochan for the character live
|
|
192
192
|
(safe-rated by default), or takes a picture you paste or drop, cuts the
|
|
193
193
|
character out on macOS, tints it to the palette — or keeps its own colors — and
|
|
194
|
-
installs it on your machine only. Ghostty shows the focused tab's picture, iTerm2 one per tab, kitty one per
|
|
195
|
-
window, Warp the tab in front's, through its one app-wide theme. See [docs/backgrounds.md](docs/backgrounds.md).
|
|
194
|
+
installs it on your machine only. Ghostty shows the focused tab's picture, iTerm2, Konsole and Terminal.app one per tab, kitty one per
|
|
195
|
+
window, WezTerm the active tab's per window, Warp the tab in front's, through its one app-wide theme. See [docs/backgrounds.md](docs/backgrounds.md).
|
|
196
196
|
|
|
197
197
|
## Contributing
|
|
198
198
|
|
|
@@ -227,6 +227,15 @@ Terminal background images are downloaded from the booru you pick only when you
|
|
|
227
227
|
ask `find` for one, built on your own machine and written to
|
|
228
228
|
`~/.config/ttheme/backgrounds/`; none ship in this repository or on npm.
|
|
229
229
|
|
|
230
|
+
Characters' names in every language — what preview, browse, `list` and
|
|
231
|
+
`find`'s search box match besides the palette names — come from the weekly
|
|
232
|
+
release of [aninames](https://github.com/kecan0406/aninames), which your machine
|
|
233
|
+
downloads into `~/.cache/ttheme/aninames/` (about 7 MB, checked once a day in
|
|
234
|
+
the background; `TTHEME_NAMES=off` in `ttheme config` leaves them as they are).
|
|
235
|
+
It is built from Wikidata (CC0), anime-offline-database and VNDB (ODbL),
|
|
236
|
+
Korean Wikipedia (CC BY-SA 4.0), and AniDB's titles, Bangumi, Anissia and
|
|
237
|
+
Danbooru, which state no license; none of it ships on npm.
|
|
238
|
+
|
|
230
239
|
Every background picture belongs to the artist who drew it. ttheme never passes
|
|
231
240
|
one on: a palette or a share code names a booru post by its number, and each
|
|
232
241
|
machine fetches it from that booru itself. `find` names who drew each post and
|