Separate installing packages from AUR

This commit is contained in:
David Heinemeier Hansson
2025-08-24 19:15:12 +02:00
parent 1d915c6583
commit 00cc8315a6
3 changed files with 28 additions and 3 deletions

View File

@@ -14,11 +14,11 @@ fzf_args=(
--color 'pointer:green,marker:green'
)
pkg_names=$(yay -Slq | fzf "${fzf_args[@]}")
pkg_names=$(pacman -Slq | fzf "${fzf_args[@]}")
if [[ -n "$pkg_names" ]]; then
# Convert newline-separated selections to space-separated for yay
echo "$pkg_names" | tr '\n' ' ' | xargs yay -Sy --noconfirm
echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -Sy --noconfirm
sudo updatedb
omarchy-show-done
fi