@kecan0406/ttheme 1.2.18 → 1.2.20
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 +10 -7
- package/bin/ttheme.js +222 -220
- package/bin/ttheme.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/package.json +11 -7
- package/shell/adapters/_bg.zsh +9 -5
- package/shell/adapters/_osc.zsh +20 -4
- package/shell/adapters/ghostty.zsh +1 -1
- package/shell/adapters/iterm2.zsh +6 -3
- package/shell/adapters/kitty.zsh +1 -1
- package/shell/adapters/konsole.zsh +1 -1
- package/shell/adapters/terminal-app.zsh +1 -1
- package/shell/adapters/warp.zsh +1 -1
- package/shell/adapters/wezterm.zsh +1 -1
- package/shell/preview.zsh +182 -40
- package/shell/ttheme.zsh +31 -13
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ page](https://ttheme.vercel.app/market) lists the public ones.
|
|
|
132
132
|
|
|
133
133
|
`ttheme new rei` opens the palette editor on a blank palette: a few seeds grow
|
|
134
134
|
twenty colors that pass the contrast gate, then each one is tuned in OKLCH while
|
|
135
|
-
|
|
135
|
+
a mock terminal beside them shows the result. It makes `<you>@<market>/rei`, named after your
|
|
136
136
|
GitHub handle and a market name the first `new` asks for, in
|
|
137
137
|
`~/.config/ttheme/market/<market>`, and installs it; `--from rei` starts from
|
|
138
138
|
rei's colors instead. `ttheme edit rei` opens the same editor — on any palette,
|
|
@@ -199,8 +199,8 @@ two share the screen, and how to let Neovim wear the palette instead:
|
|
|
199
199
|
|
|
200
200
|
## Background pictures
|
|
201
201
|
|
|
202
|
-
A palette can wear a picture behind the text. ttheme ships none: `ttheme
|
|
203
|
-
|
|
202
|
+
A palette can wear a picture behind the text. ttheme ships none: in `ttheme`,
|
|
203
|
+
`tab` on a palette opens its panel, and `f` there searches danbooru, konachan, yande.re and zerochan for the character live
|
|
204
204
|
(safe-rated by default), or takes a picture you paste or drop, cuts the
|
|
205
205
|
character out on macOS, tints it to the palette — or keeps its own colors — and
|
|
206
206
|
installs it on your machine only. Ghostty shows the focused tab's picture, iTerm2, Konsole and Terminal.app one per tab, kitty one per
|
|
@@ -251,10 +251,13 @@ Danbooru, which state no license; none of it ships on npm.
|
|
|
251
251
|
Every background picture belongs to the artist who drew it. ttheme never passes
|
|
252
252
|
one on: a palette or a share code names a booru post by its number, and each
|
|
253
253
|
machine fetches it from that booru itself. `find` names who drew each post and
|
|
254
|
-
links the post and the
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
254
|
+
links the artwork's own page, the post and the artist's own pages — pixiv, X and
|
|
255
|
+
Bluesky, and Fanbox, Skeb, Patreon or Fantia where they take support. An
|
|
256
|
+
installed picture keeps them all, preview's image edit names the artist over the
|
|
257
|
+
picture with the same links, and a share link's page names them too. The
|
|
258
|
+
pictures are for your own terminal — when you show one off, `y` in preview's
|
|
259
|
+
image edit copies a line that credits the artist and links the artwork's page,
|
|
260
|
+
not the booru's copy.
|
|
258
261
|
|
|
259
262
|
## License
|
|
260
263
|
|