blob: 6b5f54da7e0df8a67b9d28feac8ac80faafed7f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# vim:ft=sh
# save hash of this directory so this script is run if the files are modified
# {{ output "find" (joinPath .chezmoi.sourceDir "dot_local/share/mode") "-type" "f" "-exec" "sha256sum" "{}" ";" | sha1sum }}
[ -z "$(command -v mode)" ] && exit 0
[ -z "$(command -v fork)" ] && exit 0
echo "updating dynamic theme files"
fork mode --no-reload {{ dig "mode" "theme" "dark" . }}
exit 0
|