diff .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl @ 660:407d461cd377

use vivid to generate a color theme for ls, fd, etc
author zegervdv <zegervdv@me.com>
date Sun, 25 Sep 2022 16:50:42 +0000
parents
children b137de67217b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl	Sun Sep 25 16:50:42 2022 +0000
@@ -0,0 +1,7 @@
+{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
+#!/usr/bin/env zsh
+
+# colors hash: {{ include "dot_config/vivid/themes/espresso.yml" | sha256sum }}
+
+vivid generate espresso > {{ joinPath .chezmoi.sourceDir "dot_lscolors" }}
+{{ end -}}