add television fuzzy searcher

This commit is contained in:
Lockszmith (wsl@Sygin) 2025-04-09 21:32:01 -04:00
parent ba76c66c25
commit 94752b1b5e
1 changed files with 10 additions and 0 deletions

View File

@ -89,6 +89,16 @@
"refreshPeriod" $defaultRefresh "refreshPeriod" $defaultRefresh
) -}}{{- end -}}{{- end -}}{{- end -}} ) -}}{{- 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") -}} {{- if (eq .chezmoi.os "linux") -}}
{{- with $app_name := "vivid" -}} {{- with $app_name := "vivid" -}}
{{- with $repo := (printf "%s/%s" "sharkdp" $app_name) -}} {{- with $repo := (printf "%s/%s" "sharkdp" $app_name) -}}