diff --git a/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl b/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl index b4800c3..c3c678e 100644 --- a/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl +++ b/chezmoi.roots/_home.macos/private_dot_config/zellij/layouts/teleport.kdl @@ -6,7 +6,7 @@ layout { } pane command="zsh" cwd="/Users/gal.szkolnik" size="55%" { args "-ic" "vast-teleport launch --from-zellij" - // start_suspended true + start_suspended true } pane size=1 borderless=true { plugin location="zellij:status-bar" diff --git a/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab b/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab index ed8da78..bd729ca 100644 --- a/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab +++ b/chezmoi.roots/_home.macos/private_dot_local/bin/executable_vast-lab @@ -72,6 +72,7 @@ usage-get() { '' \ 'Commands:' \ ' s3-releases Get release names available on s3' \ + ' s3-callhome Get callhome list available on s3' \ '' \ '' exit 2 @@ -199,6 +200,11 @@ do_get_s3-releases() { | sed -Ee 's/^[[:digit:]]{3}//; s/.zzz$//' } +do_get_s3-callhome() { + # Get the list of callhome bundles + aws s3 ls --human-readable s3://vast-callhomebundle/ +} + do_get() { local DO_CMD='usage-get' if [[ $# -gt 0 ]] && declare -f "do_get_${1}" > /dev/null; then diff --git a/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl b/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl index 66d4cde..5cb9d1b 100644 --- a/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl +++ b/chezmoi.roots/_home/.chezmoiexternal.yaml.tmpl @@ -238,7 +238,7 @@ "refreshPeriod" $defaultRefresh ) -}}{{- end -}}{{- end -}}{{- end -}} -{{- if (not (eq .chezmoi.os "darwin")) -}} +{{- if (or true (not (eq .chezmoi.os "darwin"))) -}} {{- with $app_name := "moar" -}} {{- with $repo := (printf "%s/%s" "walles" $app_name) -}} {{- with $version := (gitHubLatestRelease $repo).GetTagName -}} @@ -349,6 +349,8 @@ {{- if and (lookPath "jq") (lookPath "cargo-binstall") -}} {{- $path_prefix = or (get (dict "linux" "./") .chezmoi.os) "" -}} {{- with $app_name := "eza" -}} +{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}} +{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}} {{- with $bin_url := (output "sh" "-c" ( list "cargo-binstall --log-level debug --dry-run --no-track --no-confirm --json-output" @@ -357,14 +359,21 @@ | join " ") | fromJson ).url -}} -{{- with $repo := (printf "%s/%s" "eza-community" $app_name) -}} {{- $_ := set $externals (printf ".local/bin/%s" $app_name) (dict "type" "archive-file" "url" $bin_url "path" (printf "%s%s" $path_prefix $app_name) "executable" true "refreshPeriod" $defaultRefresh -) -}}{{- end -}}{{- end -}}{{- end -}} +) -}} +{{- $_ := set $externals (printf ".cache/zsh/completions/_%s" $app_name) (dict + "type" "archive-file" + "url" (printf "https://github.com/%s/releases/download/v%s/completions-%s.tar.gz" $repo $version $version) + "path" (printf "./target/completions-%s/_%s" $version $app_name) + "executable" true + "refreshPeriod" $defaultRefresh +) -}}{{- end -}}{{- end -}}{{- end -}}{{- end -}} + {{- with $app_name := "vivid" -}} {{- with $bin_url := (output "sh" "-c" ( @@ -409,6 +418,13 @@ {{- end }} +".config/nvim": + type: "git-repo" + url: "https://code.lksz.me/szmedia/kickstart-modular.nvim.sz.git" + clone.args: --branch sz + pullr.args: --autostash --rebase + refreshPeriod: "{{ $defaultRefresh }}" + ".config/sz.env/lib/ble.sh.curl": type: "archive" url: "https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz" diff --git a/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml b/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml index 3c8bca5..9122da6 100644 --- a/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml +++ b/chezmoi.roots/_home/private_dot_config/television/vast_channels.toml @@ -3,3 +3,8 @@ name = "vast-s3-releases" source_command = "vast-lab get s3-releases" preview_command = "aws s3 ls s3://vastdata-releases/release_bundles/service-packs/{0}/" + +[[cable_channel]] +name = "vast-s3-callhome" +source_command = "vast-lab get s3-callhome" +preview_command = "aws s3 ls s3://vast-callhomebundle/{0}/"