add fastfetch

This commit is contained in:
Lockszmith (wsl@Sygin) 2025-04-12 09:38:51 -04:00
parent 5629133ec3
commit 7be26f591e
1 changed files with 11 additions and 0 deletions

View File

@ -233,6 +233,17 @@
"refreshPeriod" $defaultRefresh
) -}}{{- end -}}{{- end -}}{{- end -}}
{{- with $app_name := "fastfetch" -}}
{{- with $repo := (printf "%s/%s" "fastfetch-cli" $app_name) -}}
{{- 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.tar.gz" $repo $version $app_name $myArch)
"executable" true
"path" (printf "%s-%s/usr/bin/%s" $app_name $myArch $app_name)
"refreshPeriod" $defaultRefresh
) -}}{{- end -}}{{- end -}}{{- end -}}
{{- if (not (eq .chezmoi.os "darwin")) -}}
{{- with $app_name := "moar" -}}
{{- with $repo := (printf "%s/%s" "walles" $app_name) -}}