Add --noconfirm to paru commands for non-interactive installs
This commit is contained in:
@@ -22,7 +22,7 @@ tangle() {
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Calendar and contacts packages"
|
echo "==> Calendar and contacts packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
vdirsyncer \
|
vdirsyncer \
|
||||||
khal \
|
khal \
|
||||||
khard
|
khard
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ DOOM="${HOME}/.config/emacs/bin/doom"
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Emacs packages"
|
echo "==> Emacs packages"
|
||||||
paru -S --needed emacs aspell aspell-en aspell-fr
|
paru -S --needed --noconfirm emacs aspell aspell-en aspell-fr
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Tangle Configuration
|
** Tangle Configuration
|
||||||
|
|||||||
+20
-20
@@ -14,7 +14,7 @@ It tangles several install scripts:
|
|||||||
- =~/install-latex.sh= — LaTeX toolchain (texlive, biber)
|
- =~/install-latex.sh= — LaTeX toolchain (texlive, biber)
|
||||||
- =~/install-laptop.sh= — laptop-specific tools (tlp, powertop, thermald)
|
- =~/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
|
* Prerequisites
|
||||||
** =git=
|
** =git=
|
||||||
@@ -58,7 +58,7 @@ tangle() {
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Desktop packages"
|
echo "==> Desktop packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
i3-wm \
|
i3-wm \
|
||||||
sxhkd \
|
sxhkd \
|
||||||
polybar \
|
polybar \
|
||||||
@@ -117,7 +117,7 @@ tangle() {
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Shell and Terminal"
|
echo "==> Shell and Terminal"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
bash bash-completion zsh \
|
bash bash-completion zsh \
|
||||||
kitty \
|
kitty \
|
||||||
tmux
|
tmux
|
||||||
@@ -129,7 +129,7 @@ paru -S --needed \
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Fonts"
|
echo "==> Fonts"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
ttf-hack-nerd \
|
ttf-hack-nerd \
|
||||||
ttf-sourcecodepro-nerd \
|
ttf-sourcecodepro-nerd \
|
||||||
adobe-source-code-pro-fonts \
|
adobe-source-code-pro-fonts \
|
||||||
@@ -142,7 +142,7 @@ Default fonts: Monospace/Serif/Sans = =Hack Nerd Font=.
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Text Editors"
|
echo "==> Text Editors"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
neovim python-pynvim nodejs-neovim \
|
neovim python-pynvim nodejs-neovim \
|
||||||
emacs \
|
emacs \
|
||||||
aspell aspell-en aspell-fr
|
aspell aspell-en aspell-fr
|
||||||
@@ -162,7 +162,7 @@ Emacs config: [[./doom.org][doom.org]]
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> GnuPG and Pass"
|
echo "==> GnuPG and Pass"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
gnupg gnome-keyring \
|
gnupg gnome-keyring \
|
||||||
pass rofi-pass pass-git-helper
|
pass rofi-pass pass-git-helper
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -197,7 +197,7 @@ ssh-add ~/.ssh/id_ed25519
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Window Manager and Desktop"
|
echo "==> Window Manager and Desktop"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
i3-wm \
|
i3-wm \
|
||||||
sxhkd \
|
sxhkd \
|
||||||
polybar \
|
polybar \
|
||||||
@@ -218,7 +218,7 @@ paru -S --needed \
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> File Manager"
|
echo "==> File Manager"
|
||||||
paru -S --needed yazi
|
paru -S --needed --noconfirm yazi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Yazi config: [[file:yazi.org][yazi.org]]
|
Yazi config: [[file:yazi.org][yazi.org]]
|
||||||
@@ -227,7 +227,7 @@ Yazi config: [[file:yazi.org][yazi.org]]
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Terminal Utilities"
|
echo "==> Terminal Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
fd ripgrep fzf \
|
fd ripgrep fzf \
|
||||||
xclip xsel \
|
xclip xsel \
|
||||||
atool unzip \
|
atool unzip \
|
||||||
@@ -240,7 +240,7 @@ paru -S --needed \
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Browser"
|
echo "==> Browser"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
qutebrowser python-adblock pdfjs \
|
qutebrowser python-adblock pdfjs \
|
||||||
firefox-developer-edition passff-host
|
firefox-developer-edition passff-host
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -257,7 +257,7 @@ Spell checking for qutebrowser:
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Media"
|
echo "==> Media"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
mpv \
|
mpv \
|
||||||
jellyfin-tui \
|
jellyfin-tui \
|
||||||
nsxiv \
|
nsxiv \
|
||||||
@@ -272,7 +272,7 @@ paru -S --needed \
|
|||||||
Core PipeWire packages (required):
|
Core PipeWire packages (required):
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> PipeWire"
|
echo "==> PipeWire"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse \
|
pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse \
|
||||||
wireplumber
|
wireplumber
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -280,7 +280,7 @@ paru -S --needed \
|
|||||||
Optional GUI control (install manually when available):
|
Optional GUI control (install manually when available):
|
||||||
#+begin_src bash :tangle no
|
#+begin_src bash :tangle no
|
||||||
echo "==> PipeWire GUI (optional)"
|
echo "==> PipeWire GUI (optional)"
|
||||||
paru -S --needed pwvucontrol || echo "pwvucontrol failed, skipping"
|
paru -S --needed --noconfirm pwvucontrol || echo "pwvucontrol failed, skipping"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Enable PipeWire services:
|
Enable PipeWire services:
|
||||||
@@ -294,7 +294,7 @@ systemctl --user enable --now wireplumber.service
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> PDF and Image Utilities"
|
echo "==> PDF and Image Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
pdf2svg qpdf pdfarranger \
|
pdf2svg qpdf pdfarranger \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
maim flameshot \
|
maim flameshot \
|
||||||
@@ -306,7 +306,7 @@ paru -S --needed \
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Office"
|
echo "==> Office"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
onlyoffice-bin \
|
onlyoffice-bin \
|
||||||
libreoffice-fresh libreoffice-fresh-fr \
|
libreoffice-fresh libreoffice-fresh-fr \
|
||||||
inkscape
|
inkscape
|
||||||
@@ -316,7 +316,7 @@ paru -S --needed \
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> System Utilities"
|
echo "==> System Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
udiskie \
|
udiskie \
|
||||||
blueman \
|
blueman \
|
||||||
sshfs \
|
sshfs \
|
||||||
@@ -343,7 +343,7 @@ systemctl --user enable --now syncthing
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Misc Utilities"
|
echo "==> Misc Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
xwallpaper \
|
xwallpaper \
|
||||||
highlight-pointer-git \
|
highlight-pointer-git \
|
||||||
mpd
|
mpd
|
||||||
@@ -462,7 +462,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Mail packages"
|
echo "==> Mail packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
isync \
|
isync \
|
||||||
msmtp \
|
msmtp \
|
||||||
neomutt \
|
neomutt \
|
||||||
@@ -499,7 +499,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> LaTeX packages"
|
echo "==> LaTeX packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
texlive-most tllocalmgr-git \
|
texlive-most tllocalmgr-git \
|
||||||
biber
|
biber
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -520,7 +520,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Laptop power management"
|
echo "==> Laptop power management"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
powertop \
|
powertop \
|
||||||
tlp \
|
tlp \
|
||||||
thermald
|
thermald
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ tangle() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "==> Calendar and contacts packages"
|
echo "==> Calendar and contacts packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
vdirsyncer \
|
vdirsyncer \
|
||||||
khal \
|
khal \
|
||||||
khard
|
khard
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ tangle() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "==> Desktop packages"
|
echo "==> Desktop packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
i3-wm \
|
i3-wm \
|
||||||
sxhkd \
|
sxhkd \
|
||||||
polybar \
|
polybar \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
echo "==> Laptop power management"
|
echo "==> Laptop power management"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
powertop \
|
powertop \
|
||||||
tlp \
|
tlp \
|
||||||
thermald
|
thermald
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
echo "==> LaTeX packages"
|
echo "==> LaTeX packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
texlive-most tllocalmgr-git \
|
texlive-most tllocalmgr-git \
|
||||||
biber
|
biber
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
echo "==> Mail packages"
|
echo "==> Mail packages"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
isync \
|
isync \
|
||||||
msmtp \
|
msmtp \
|
||||||
neomutt \
|
neomutt \
|
||||||
|
|||||||
+14
-14
@@ -8,31 +8,31 @@ tangle() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "==> Shell and Terminal"
|
echo "==> Shell and Terminal"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
bash bash-completion zsh \
|
bash bash-completion zsh \
|
||||||
kitty \
|
kitty \
|
||||||
tmux
|
tmux
|
||||||
|
|
||||||
echo "==> Fonts"
|
echo "==> Fonts"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
ttf-hack-nerd \
|
ttf-hack-nerd \
|
||||||
ttf-sourcecodepro-nerd \
|
ttf-sourcecodepro-nerd \
|
||||||
adobe-source-code-pro-fonts \
|
adobe-source-code-pro-fonts \
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
|
|
||||||
echo "==> Text Editors"
|
echo "==> Text Editors"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
neovim python-pynvim nodejs-neovim \
|
neovim python-pynvim nodejs-neovim \
|
||||||
emacs \
|
emacs \
|
||||||
aspell aspell-en aspell-fr
|
aspell aspell-en aspell-fr
|
||||||
|
|
||||||
echo "==> GnuPG and Pass"
|
echo "==> GnuPG and Pass"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
gnupg gnome-keyring \
|
gnupg gnome-keyring \
|
||||||
pass rofi-pass pass-git-helper
|
pass rofi-pass pass-git-helper
|
||||||
|
|
||||||
echo "==> Window Manager and Desktop"
|
echo "==> Window Manager and Desktop"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
i3-wm \
|
i3-wm \
|
||||||
sxhkd \
|
sxhkd \
|
||||||
polybar \
|
polybar \
|
||||||
@@ -43,10 +43,10 @@ paru -S --needed \
|
|||||||
xorg-xrandr arandr
|
xorg-xrandr arandr
|
||||||
|
|
||||||
echo "==> File Manager"
|
echo "==> File Manager"
|
||||||
paru -S --needed yazi
|
paru -S --needed --noconfirm yazi
|
||||||
|
|
||||||
echo "==> Terminal Utilities"
|
echo "==> Terminal Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
fd ripgrep fzf \
|
fd ripgrep fzf \
|
||||||
xclip xsel \
|
xclip xsel \
|
||||||
atool unzip \
|
atool unzip \
|
||||||
@@ -55,12 +55,12 @@ paru -S --needed \
|
|||||||
fastfetch
|
fastfetch
|
||||||
|
|
||||||
echo "==> Browser"
|
echo "==> Browser"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
qutebrowser python-adblock pdfjs \
|
qutebrowser python-adblock pdfjs \
|
||||||
firefox-developer-edition passff-host
|
firefox-developer-edition passff-host
|
||||||
|
|
||||||
echo "==> Media"
|
echo "==> Media"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
mpv \
|
mpv \
|
||||||
jellyfin-tui \
|
jellyfin-tui \
|
||||||
nsxiv \
|
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
|
gst-plugins-ugly gst-plugins-good gst-plugins-base-libs gst-plugins-base gst-plugins-bad gst-libav
|
||||||
|
|
||||||
echo "==> PipeWire"
|
echo "==> PipeWire"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse \
|
pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse \
|
||||||
wireplumber
|
wireplumber
|
||||||
|
|
||||||
echo "==> PDF and Image Utilities"
|
echo "==> PDF and Image Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
pdf2svg qpdf pdfarranger \
|
pdf2svg qpdf pdfarranger \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
maim flameshot \
|
maim flameshot \
|
||||||
@@ -83,13 +83,13 @@ paru -S --needed \
|
|||||||
poppler
|
poppler
|
||||||
|
|
||||||
echo "==> Office"
|
echo "==> Office"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
onlyoffice-bin \
|
onlyoffice-bin \
|
||||||
libreoffice-fresh libreoffice-fresh-fr \
|
libreoffice-fresh libreoffice-fresh-fr \
|
||||||
inkscape
|
inkscape
|
||||||
|
|
||||||
echo "==> System Utilities"
|
echo "==> System Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
udiskie \
|
udiskie \
|
||||||
blueman \
|
blueman \
|
||||||
sshfs \
|
sshfs \
|
||||||
@@ -107,7 +107,7 @@ paru -S --needed \
|
|||||||
python ipython python-pip
|
python ipython python-pip
|
||||||
|
|
||||||
echo "==> Misc Utilities"
|
echo "==> Misc Utilities"
|
||||||
paru -S --needed \
|
paru -S --needed --noconfirm \
|
||||||
xwallpaper \
|
xwallpaper \
|
||||||
highlight-pointer-git \
|
highlight-pointer-git \
|
||||||
mpd
|
mpd
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ DOTFILES="${HOME}/.config/literate-dotfiles"
|
|||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
echo "==> Neovim packages"
|
echo "==> Neovim packages"
|
||||||
paru -S --needed neovim python-pynvim nodejs-neovim
|
paru -S --needed --noconfirm neovim python-pynvim nodejs-neovim
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** vim-plug
|
** vim-plug
|
||||||
|
|||||||
Reference in New Issue
Block a user