From 94752b1b5ecc4de1a16602f022a6b8089ba26bf1 Mon Sep 17 00:00:00 2001 From: "Lockszmith (wsl@Sygin)" Date: Wed, 9 Apr 2025 21:32:01 -0400 Subject: [PATCH] add television fuzzy searcher --- _src.posix/.chezmoiexternal.yaml.tmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_src.posix/.chezmoiexternal.yaml.tmpl b/_src.posix/.chezmoiexternal.yaml.tmpl index d5403ba..fdfccaa 100644 --- a/_src.posix/.chezmoiexternal.yaml.tmpl +++ b/_src.posix/.chezmoiexternal.yaml.tmpl @@ -89,6 +89,16 @@ "refreshPeriod" $defaultRefresh ) -}}{{- end -}}{{- end -}}{{- end -}} +{{- with $app_name := "tv" -}} +{{- with $repo := (printf "%s/%s" "alexpasmantier" "television") -}} +{{- with $version := (gitHubLatestRelease $repo).GetTagName -}} +{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict + "type" "archive-file" + "url" (printf "https://github.com/%s/releases/download/%s/%s-%s-%s.tar.gz" $repo $version $app_name $version $myArch) + "path" (printf "%s-%s-%s/%s" $app_name $version $myArch $app_name) + "refreshPeriod" $defaultRefresh +) -}}{{- end -}}{{- end -}}{{- end -}} + {{- if (eq .chezmoi.os "linux") -}} {{- with $app_name := "vivid" -}} {{- with $repo := (printf "%s/%s" "sharkdp" $app_name) -}}