File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565{{- end }}
6666
6767{{ if not .is_devcontainer -}}
68- " .local/bin/pipx " :
69- type : file
70- {{ $pipxVersion := includeTemplate "get-github-latest-version" "pypa/pipx" }}
71- url : " https://github.com/pypa/pipx/releases/download/{{ $pipxVersion }}/pipx.pyz"
72- executable : true
68+ " .local/bin/uv " :
69+ type : archive-file
70+ {{ $uvVersion := includeTemplate "get-github-latest-version" "astral-sh/uv" }}
71+ url : " https://github.com/astral-sh/uv/releases/download/{{ $uvVersion }}/uv-{{ .uname_arch }}-unknown-linux-gnu.tar.gz"
72+ stripComponents : 1
73+ path : uv
74+
75+ " .local/bin/uvx " :
76+ type : archive-file
77+ url : " https://github.com/astral-sh/uv/releases/download/{{ $uvVersion }}/uv-{{ .uname_arch }}-unknown-linux-gnu.tar.gz"
78+ stripComponents : 1
79+ path : uvx
7380
7481" .local/bin/kubecolor " :
7582 type : archive-file
Original file line number Diff line number Diff line change 2727# now we use gext instead
2828.local/bin/gnome-shell-extension-installer
2929
30+ # now we use uv instead
31+ .local/bin/pipx
32+ .local/share/pipx
33+
3034# tea got renamed to pkgx
3135.local/bin/tea
3236.tea
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ true || source ../.chezmoitemplates/scripts-library
77
88ensure_path_entry " ${HOME} /.local/bin"
99
10+ # TODO: install the .pyz instead after https://github.com/essembeh/gnome-extensions-cli/issues/40
11+ alias gext=' uvx gnome-extensions-cli'
12+
1013function is_gnome_extension_installed() {
1114 local extension=" $1 "
1215
@@ -43,11 +46,6 @@ disabled_extensions=(
4346
4447missing_extensions=()
4548
46- if ! command -v gext > /dev/null; then
47- log_task " Installing gnome-extensions-cli"
48- c pipx install --force gnome-extensions-cli
49- fi
50-
5149for extension in " ${wanted_extensions[@]} " ; do
5250 # shellcheck disable=SC2310
5351 if ! is_gnome_extension_installed " ${extension} " ; then
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ readonly wanted_packages=(
2424 git
2525 jq
2626 python3
27- # needed by pipx
28- python3-venv
2927 docker-ce
3028 docker-ce-cli
3129 containerd.io
You can’t perform that action at this time.
0 commit comments