Add --noconfirm to paru commands for non-interactive installs
This commit is contained in:
@@ -22,7 +22,7 @@ tangle() {
|
||||
|
||||
#+begin_src bash
|
||||
echo "==> Calendar and contacts packages"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
vdirsyncer \
|
||||
khal \
|
||||
khard
|
||||
|
||||
@@ -30,7 +30,7 @@ DOOM="${HOME}/.config/emacs/bin/doom"
|
||||
|
||||
#+begin_src bash
|
||||
echo "==> Emacs packages"
|
||||
paru -S --needed emacs aspell aspell-en aspell-fr
|
||||
paru -S --needed --noconfirm emacs aspell aspell-en aspell-fr
|
||||
#+end_src
|
||||
|
||||
** Tangle Configuration
|
||||
|
||||
+20
-20
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@ tangle() {
|
||||
}
|
||||
|
||||
echo "==> Calendar and contacts packages"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
vdirsyncer \
|
||||
khal \
|
||||
khard
|
||||
|
||||
@@ -8,7 +8,7 @@ tangle() {
|
||||
}
|
||||
|
||||
echo "==> Desktop packages"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
i3-wm \
|
||||
sxhkd \
|
||||
polybar \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
echo "==> Laptop power management"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
powertop \
|
||||
tlp \
|
||||
thermald
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
set -euo pipefail
|
||||
|
||||
echo "==> LaTeX packages"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
texlive-most tllocalmgr-git \
|
||||
biber
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
echo "==> Mail packages"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
isync \
|
||||
msmtp \
|
||||
neomutt \
|
||||
|
||||
+14
-14
@@ -8,31 +8,31 @@ tangle() {
|
||||
}
|
||||
|
||||
echo "==> Shell and Terminal"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
bash bash-completion zsh \
|
||||
kitty \
|
||||
tmux
|
||||
|
||||
echo "==> Fonts"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
ttf-hack-nerd \
|
||||
ttf-sourcecodepro-nerd \
|
||||
adobe-source-code-pro-fonts \
|
||||
noto-fonts-emoji
|
||||
|
||||
echo "==> Text Editors"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
neovim python-pynvim nodejs-neovim \
|
||||
emacs \
|
||||
aspell aspell-en aspell-fr
|
||||
|
||||
echo "==> GnuPG and Pass"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
gnupg gnome-keyring \
|
||||
pass rofi-pass pass-git-helper
|
||||
|
||||
echo "==> Window Manager and Desktop"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
i3-wm \
|
||||
sxhkd \
|
||||
polybar \
|
||||
@@ -43,10 +43,10 @@ paru -S --needed \
|
||||
xorg-xrandr arandr
|
||||
|
||||
echo "==> File Manager"
|
||||
paru -S --needed yazi
|
||||
paru -S --needed --noconfirm yazi
|
||||
|
||||
echo "==> Terminal Utilities"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
fd ripgrep fzf \
|
||||
xclip xsel \
|
||||
atool unzip \
|
||||
@@ -55,12 +55,12 @@ paru -S --needed \
|
||||
fastfetch
|
||||
|
||||
echo "==> Browser"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
qutebrowser python-adblock pdfjs \
|
||||
firefox-developer-edition passff-host
|
||||
|
||||
echo "==> Media"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
mpv \
|
||||
jellyfin-tui \
|
||||
nsxiv \
|
||||
@@ -70,12 +70,12 @@ paru -S --needed \
|
||||
gst-plugins-ugly gst-plugins-good gst-plugins-base-libs gst-plugins-base gst-plugins-bad gst-libav
|
||||
|
||||
echo "==> PipeWire"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse \
|
||||
wireplumber
|
||||
|
||||
echo "==> PDF and Image Utilities"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
pdf2svg qpdf pdfarranger \
|
||||
imagemagick \
|
||||
maim flameshot \
|
||||
@@ -83,13 +83,13 @@ paru -S --needed \
|
||||
poppler
|
||||
|
||||
echo "==> Office"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
onlyoffice-bin \
|
||||
libreoffice-fresh libreoffice-fresh-fr \
|
||||
inkscape
|
||||
|
||||
echo "==> System Utilities"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
udiskie \
|
||||
blueman \
|
||||
sshfs \
|
||||
@@ -107,7 +107,7 @@ paru -S --needed \
|
||||
python ipython python-pip
|
||||
|
||||
echo "==> Misc Utilities"
|
||||
paru -S --needed \
|
||||
paru -S --needed --noconfirm \
|
||||
xwallpaper \
|
||||
highlight-pointer-git \
|
||||
mpd
|
||||
|
||||
Reference in New Issue
Block a user