mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-23 19:11:06 -07:00
docs: add create theme in README
This commit is contained in:
parent
5b2d955eb8
commit
d2f256be8c
@ -48,6 +48,12 @@ go install github.com/eeeXun/gtt@latest
|
|||||||
docker run -it eeexun/gtt
|
docker run -it eeexun/gtt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Create a theme
|
||||||
|
|
||||||
|
You can create a theme with theme name. And you must provide the color of `bg`, `fg`, `gray`, `red`, `green`, `yellow`, `blue`, `purple`, `cyan`, `orange`.
|
||||||
|
|
||||||
|
See the example in [theme.yaml](example/theme.yaml) file. This file should located under `$XDG_CONFIG_HOME/gtt/theme.yaml` or `$HOME/.config/gtt/theme.yaml`
|
||||||
|
|
||||||
## Language in argument
|
## Language in argument
|
||||||
|
|
||||||
You can pass `-src` and `-dst` in argument to set source and destination language.
|
You can pass `-src` and `-dst` in argument to set source and destination language.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user