Compare commits
No commits in common. "7be26f591e44daeaa15711773856b3515d428b70" and "3ae06772513eed1f97c245450491a22794b10257" have entirely different histories.
7be26f591e
...
3ae0677251
1 changed files with 2 additions and 26 deletions
|
@ -99,8 +99,6 @@
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
|
||||||
{{- if lookPath "jq" -}}
|
|
||||||
{{- $path_prefix := or (get (dict "linux" "./") .chezmoi.os) "" -}}
|
|
||||||
{{- with $app_name := "eza" -}}
|
{{- with $app_name := "eza" -}}
|
||||||
{{- with $bin_url := (output "sh" "-c" (
|
{{- with $bin_url := (output "sh" "-c" (
|
||||||
list
|
list
|
||||||
|
@ -114,7 +112,7 @@
|
||||||
{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
|
{{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict
|
||||||
"type" "archive-file"
|
"type" "archive-file"
|
||||||
"url" $bin_url
|
"url" $bin_url
|
||||||
"path" (printf "%s%s" $path_prefix $app_name)
|
"path" $app_name
|
||||||
"executable" true
|
"executable" true
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
|
@ -136,7 +134,6 @@
|
||||||
"executable" true
|
"executable" true
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- end -}}{{- end -}}{{- end -}}
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
# valid arch strings:
|
# valid arch strings:
|
||||||
|
@ -151,17 +148,6 @@
|
||||||
*/}}
|
*/}}
|
||||||
{{- $myArch = (printf "%s_%s" .chezmoi.os .chezmoi.arch) -}}
|
{{- $myArch = (printf "%s_%s" .chezmoi.os .chezmoi.arch) -}}
|
||||||
|
|
||||||
{{- with $app_name := "gojq" -}}
|
|
||||||
{{- with $repo := (printf "%s/%s" "itchyny" $app_name) -}}
|
|
||||||
{{- with $version := (gitHubLatestRelease $repo).GetTagName -}}
|
|
||||||
{{- $_ := set $externals (printf ".local/bin/%s" "jq") (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)
|
|
||||||
"executable" true
|
|
||||||
"refreshPeriod" $defaultRefresh
|
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
|
||||||
|
|
||||||
{{- with $app_name := "git-credential-oauth" -}}
|
{{- with $app_name := "git-credential-oauth" -}}
|
||||||
{{- with $repo := (printf "%s/%s" "hickford" $app_name) -}}
|
{{- with $repo := (printf "%s/%s" "hickford" $app_name) -}}
|
||||||
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
|
{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}}
|
||||||
|
@ -233,17 +219,6 @@
|
||||||
"refreshPeriod" $defaultRefresh
|
"refreshPeriod" $defaultRefresh
|
||||||
) -}}{{- end -}}{{- end -}}{{- end -}}
|
) -}}{{- 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")) -}}
|
{{- if (not (eq .chezmoi.os "darwin")) -}}
|
||||||
{{- with $app_name := "moar" -}}
|
{{- with $app_name := "moar" -}}
|
||||||
{{- with $repo := (printf "%s/%s" "walles" $app_name) -}}
|
{{- with $repo := (printf "%s/%s" "walles" $app_name) -}}
|
||||||
|
@ -345,3 +320,4 @@
|
||||||
executable: true
|
executable: true
|
||||||
refreshPeriod: "{{ $defaultRefresh }}"
|
refreshPeriod: "{{ $defaultRefresh }}"
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue