Skip to content

Commit

Permalink
doc: add gitconfig instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhermoso committed Dec 26, 2024
1 parent 3bfbd41 commit b031892
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,24 @@ A Tinted Theming template for [delta] with [Base16] themes

For usage with [Tinty]:

1. Add the following to `~/.config/tinted-theming/tinty/config.toml`:
```toml
[[items]]
path = "https://github.com/tinted-theming/tinted-delta"
name = "delta"
themes-dir = "configs"
hook = "cp -f %f ~/.config/tinted-theming/delta.gitconfig"
supported-systems = ["base16", "base24"]
```

2. `tinty apply ...` to apply the theme you like.
1. Add this line to your `.gitconig`. This assumes you have already set up [delta] as your Git pager/diff-tool under the
name `delta`:

```gitconfig
[include]
path = ~/.local/share/tinted-theming/tinty/tinted-delta-configs-file.gitconfig
```

2. Add the following to `~/.config/tinted-theming/tinty/config.toml`:
```toml
[[items]]
path = "https://github.com/tinted-theming/tinted-delta"
name = "tinted-delta"
themes-dir = "configs"
supported-systems = ["base16", "base24"]
```

3. `tinty apply ...` to apply the theme you like.

[delta]: https://github.com/dandavidson/delta
[Base16]: https://github.com/tinted-theming/home/blob/main/styling.md
Expand Down

0 comments on commit b031892

Please sign in to comment.