@@ -17,6 +17,7 @@ For more general usage, look at the [Usage section] in [README.md].
17
17
- [ qutebrowser] ( #qutebrowser )
18
18
- [ rofi] ( #rofi )
19
19
- [ dunst] ( #dunst )
20
+ - [ delta] ( #delta )
20
21
21
22
## Shell completions
22
23
@@ -502,6 +503,39 @@ However, limited testing has shown `dunst` will not complain if its configuratio
502
503
hook = " cat ~/.config/dunst/dunstrc.local %f > ~/.config/dunst/dunstrc && systemctl --user restart dunst"
503
504
```
504
505
506
+ ## Delta
507
+
508
+ Add the following to ` ~/.config/tinted-theming/tinty/config.toml ` :
509
+
510
+ ``` toml
511
+ [[items ]]
512
+ path = " https://github.com/tinted-theming/tinted-delta"
513
+ name = " delta"
514
+ themes-dir = " configs"
515
+ hook = " cp -f %f ~/.config/tinted-theming/delta.gitconfig"
516
+ supported-systems = [" base16" , " base24" ]
517
+ ```
518
+
519
+ Configure [ delta] as your Git pager and/or difftool under the name ` delta ` , like this:
520
+
521
+ ``` gitconfig
522
+ [core ]
523
+ pager = delta
524
+
525
+ [interactive ]
526
+ diffFilter = delta --color-only
527
+
528
+ # Delta configuration not related to theming:
529
+ [delta ]
530
+ navigate = true
531
+ line-numbers = true
532
+ hyperlinks = true
533
+ tabs = 4
534
+
535
+ # Include the config file generated by the tinty hook, which contains theme-related configuration:
536
+ [include ]
537
+ path = ~ /.config/tinted-theming/delta.gitconfig
538
+ ```
505
539
[Usage section]: https://github.com/tinted-theming/tinty?tab=readme-ov-file# usage
506
540
[README .md ]: https://github.com/tinted-theming/tinty/blob/main/README.md
507
541
[bat ]: https://github.com/sharkdp/bat
@@ -515,3 +549,4 @@ hook = "cat ~/.config/dunst/dunstrc.local %f > ~/.config/dunst/dunstrc && system
515
549
[README CLI section]: README.md# cli
516
550
[contrib/completion]: contrib/completion
517
551
[base16-qutebrowser ]: https://github.com/tinted-theming/base16-qutebrowser
552
+ [delta ]: https://github.com/dandavison/delta
0 commit comments