From a0155ea938918f19a7a079e33df108386817c73d Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:47:02 -0700 Subject: [PATCH] Update .config/packages/arch-packages.fish --- dot_config/packages/run_onchange_after_arch-packages.fish.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot_config/packages/run_onchange_after_arch-packages.fish.tmpl b/dot_config/packages/run_onchange_after_arch-packages.fish.tmpl index f3693c5..e679017 100644 --- a/dot_config/packages/run_onchange_after_arch-packages.fish.tmpl +++ b/dot_config/packages/run_onchange_after_arch-packages.fish.tmpl @@ -26,8 +26,9 @@ if ! test "{{ .chezmoi.hostname }}" = "$file" set_color yellow && echo "Package list has changed, reinstalling..." yay -S --needed - <~/.config/packages/arch + {{ $host := .chezmoi.hostname }} {{ range .packages.arch -}} - {{ if eq .chezmoi.hostname (. | quote ) -}} + {{ if eq $host . -}} {{ range . -}} yay -S --needed - <{{ . }} {{ end -}}