Skip to content

Commit

Permalink
Add custom-scheme script example
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden committed Jul 3, 2024
1 parent a6f483a commit bfdf7ba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Tinty stores themes to `$XDG_DATA_HOME` based on [XDG Base Directory specificati
## Use your own schemes

To use your own schemes, create a
`custom-schemes/<scheme_system>-your-scheme-name.yaml` file in your
`custom-schemes/<scheme_system>/your-scheme-name.yaml` file in your
data-dir (Run `tinty config --data-dir-path` to get the path to your
data-dir) - where `<scheme_system>` is the system you use. Currently we
support scheme_system `base16` and `base24`. After you've added your
Expand All @@ -132,6 +132,13 @@ Tinty will not apply it.
If everything works as expected, `tinty apply
base16-your-scheme-name.yaml` should apply your scheme.

```sh
mkdir "$(tinty config --data-dir-path)/custom-themes/base16"
cp path/to/your/base16-your-scheme.yaml "$(tinty config --data-dir-path)/custom-themes/base16/your-scheme.yaml"
tinty list --custom-schemes # Should show your scheme
tinty apply base16-your-scheme
```

## Shell

When Tinty does not have any `[[items]]` set up in `config.toml`, Tinty
Expand Down

0 comments on commit bfdf7ba

Please sign in to comment.