From 4e98d9d804bc5e59151a12d1d50457e852b2972f Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 5 May 2022 19:12:45 -0400 Subject: [PATCH] template git config theme --- dot_config/git/{config => config.tmpl} | 5 +++++ 1 file changed, 5 insertions(+) rename dot_config/git/{config => config.tmpl} (83%) diff --git a/dot_config/git/config b/dot_config/git/config.tmpl similarity index 83% rename from dot_config/git/config rename to dot_config/git/config.tmpl index a602b27d7844f7511bd38c95d02527ac618bd5b5..8f12a3a095d278e6174e8382143949dfb225515d 100644 --- a/dot_config/git/config +++ b/dot_config/git/config.tmpl @@ -18,7 +18,12 @@ pager = delta [delta] line-numbers = true + {{- if eq .theme_variant "dark" }} syntax-theme = base16 + {{- end }} + {{- if eq .theme_variant "light" }} + syntax-theme = onehalflight + {{- end }} [interactive] diffFilter = delta --color-only [pull]