Add --noconfirm to paru commands for non-interactive installs

This commit is contained in:
2026-04-15 15:25:17 +02:00
parent 6afc232505
commit ace4b0c7f7
10 changed files with 42 additions and 42 deletions
+20 -20
View File
@@ -14,7 +14,7 @@ It tangles several install scripts:
- =~/install-latex.sh= — LaTeX toolchain (texlive, biber)
- =~/install-laptop.sh= — laptop-specific tools (tlp, powertop, thermald)
All scripts use =paru -S --needed= to be idempotent (safe to re-run).
All scripts use =paru -S --needed --noconfirm --noconfirm= to be idempotent (safe to re-run) and non-interactive.
* Prerequisites
** =git=
@@ -58,7 +58,7 @@ tangle() {
#+begin_src bash
echo "==> Desktop packages"
paru -S --needed \
paru -S --needed --noconfirm \
i3-wm \
sxhkd \
polybar \
@@ -117,7 +117,7 @@ tangle() {
#+begin_src bash
echo "==> Shell and Terminal"
paru -S --needed \
paru -S --needed --noconfirm \
bash bash-completion zsh \
kitty \
tmux
@@ -129,7 +129,7 @@ paru -S --needed \
#+begin_src bash
echo "==> Fonts"
paru -S --needed \
paru -S --needed --noconfirm \
ttf-hack-nerd \
ttf-sourcecodepro-nerd \
adobe-source-code-pro-fonts \
@@ -142,7 +142,7 @@ Default fonts: Monospace/Serif/Sans = =Hack Nerd Font=.
#+begin_src bash
echo "==> Text Editors"
paru -S --needed \
paru -S --needed --noconfirm \
neovim python-pynvim nodejs-neovim \
emacs \
aspell aspell-en aspell-fr
@@ -162,7 +162,7 @@ Emacs config: [[./doom.org][doom.org]]
#+begin_src bash
echo "==> GnuPG and Pass"
paru -S --needed \
paru -S --needed --noconfirm \
gnupg gnome-keyring \
pass rofi-pass pass-git-helper
#+end_src
@@ -197,7 +197,7 @@ ssh-add ~/.ssh/id_ed25519
#+begin_src bash
echo "==> Window Manager and Desktop"
paru -S --needed \
paru -S --needed --noconfirm \
i3-wm \
sxhkd \
polybar \
@@ -218,7 +218,7 @@ paru -S --needed \
#+begin_src bash
echo "==> File Manager"
paru -S --needed yazi
paru -S --needed --noconfirm yazi
#+end_src
Yazi config: [[file:yazi.org][yazi.org]]
@@ -227,7 +227,7 @@ Yazi config: [[file:yazi.org][yazi.org]]
#+begin_src bash
echo "==> Terminal Utilities"
paru -S --needed \
paru -S --needed --noconfirm \
fd ripgrep fzf \
xclip xsel \
atool unzip \
@@ -240,7 +240,7 @@ paru -S --needed \
#+begin_src bash
echo "==> Browser"
paru -S --needed \
paru -S --needed --noconfirm \
qutebrowser python-adblock pdfjs \
firefox-developer-edition passff-host
#+end_src
@@ -257,7 +257,7 @@ Spell checking for qutebrowser:
#+begin_src bash
echo "==> Media"
paru -S --needed \
paru -S --needed --noconfirm \
mpv \
jellyfin-tui \
nsxiv \
@@ -272,7 +272,7 @@ paru -S --needed \
Core PipeWire packages (required):
#+begin_src bash
echo "==> PipeWire"
paru -S --needed \
paru -S --needed --noconfirm \
pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse \
wireplumber
#+end_src
@@ -280,7 +280,7 @@ paru -S --needed \
Optional GUI control (install manually when available):
#+begin_src bash :tangle no
echo "==> PipeWire GUI (optional)"
paru -S --needed pwvucontrol || echo "pwvucontrol failed, skipping"
paru -S --needed --noconfirm pwvucontrol || echo "pwvucontrol failed, skipping"
#+end_src
Enable PipeWire services:
@@ -294,7 +294,7 @@ systemctl --user enable --now wireplumber.service
#+begin_src bash
echo "==> PDF and Image Utilities"
paru -S --needed \
paru -S --needed --noconfirm \
pdf2svg qpdf pdfarranger \
imagemagick \
maim flameshot \
@@ -306,7 +306,7 @@ paru -S --needed \
#+begin_src bash
echo "==> Office"
paru -S --needed \
paru -S --needed --noconfirm \
onlyoffice-bin \
libreoffice-fresh libreoffice-fresh-fr \
inkscape
@@ -316,7 +316,7 @@ paru -S --needed \
#+begin_src bash
echo "==> System Utilities"
paru -S --needed \
paru -S --needed --noconfirm \
udiskie \
blueman \
sshfs \
@@ -343,7 +343,7 @@ systemctl --user enable --now syncthing
#+begin_src bash
echo "==> Misc Utilities"
paru -S --needed \
paru -S --needed --noconfirm \
xwallpaper \
highlight-pointer-git \
mpd
@@ -462,7 +462,7 @@ set -euo pipefail
#+begin_src bash
echo "==> Mail packages"
paru -S --needed \
paru -S --needed --noconfirm \
isync \
msmtp \
neomutt \
@@ -499,7 +499,7 @@ set -euo pipefail
#+begin_src bash
echo "==> LaTeX packages"
paru -S --needed \
paru -S --needed --noconfirm \
texlive-most tllocalmgr-git \
biber
#+end_src
@@ -520,7 +520,7 @@ set -euo pipefail
#+begin_src bash
echo "==> Laptop power management"
paru -S --needed \
paru -S --needed --noconfirm \
powertop \
tlp \
thermald