use paru instead of yay (#6)

This commit is contained in:
Mylloon 2023-05-07 12:12:26 +02:00
parent 52e3d28e95
commit 35934879f2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 26 additions and 26 deletions

38
arch.sh
View file

@ -31,30 +31,30 @@ main() {
sudo sed -i "s/#Color/Color/g" /etc/pacman.conf sudo sed -i "s/#Color/Color/g" /etc/pacman.conf
sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf
# === Yay == # === Paru ==
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/paru.git
cd yay || exit cd paru || exit
makepkg -si --noconfirm makepkg -si --noconfirm
# Remove folder # Remove folder
cd .. cd ..
rm -rf yay rm -rf paru
# Enable *-git package updates # Clean files used for compilation
yay -Y --devel --save sudo sed -i "s/#CleanAfter/CleanAfter/g" /etc/paru.conf
# === AUR packages == # === AUR packages ==
yay -S --noconfirm obsidian parsec-bin onlyoffice-bin evolution-etesync-git \ paru -S --noconfirm obsidian parsec-bin onlyoffice-bin evolution-etesync-git \
x11-emoji-picker gnome-shell-extension-dash-to-dock \ x11-emoji-picker gnome-shell-extension-dash-to-dock \
gnome-shell-extension-desktop-icons-ng dracula-gtk-theme \ gnome-shell-extension-desktop-icons-ng dracula-gtk-theme \
dracula-icons-git vscodium-bin otf-symbola \ dracula-icons-git vscodium-bin otf-symbola \
gnome-shell-extension-appindicator-git touchegg \ gnome-shell-extension-appindicator-git touchegg \
gnome-shell-extension-x11gestures spotify-launcher \ gnome-shell-extension-x11gestures spotify-launcher \
gnome-shell-extension-no-overview nerd-fonts-meslo \ gnome-shell-extension-no-overview nerd-fonts-meslo \
gnome-shell-extension-gsconnect spim-svn \ gnome-shell-extension-gsconnect spim-svn \
gnome-shell-extension-rounded-window-corners \ gnome-shell-extension-rounded-window-corners \
gnome-shell-extension-alphabetical-grid-extension \ gnome-shell-extension-alphabetical-grid-extension \
gnome-shell-extension-tiling-assistant \ gnome-shell-extension-tiling-assistant \
gnome-shell-extension-quick-settings-tweaks-git \ gnome-shell-extension-quick-settings-tweaks-git \
topgrade-bin topgrade-bin
# === Disable wayland == # === Disable wayland ==
sed -i "s/#Wayland/Wayland/g" /etc/gdm/custom.conf sed -i "s/#Wayland/Wayland/g" /etc/gdm/custom.conf

View file

@ -50,18 +50,18 @@ main() {
# === Remove SU password == # === Remove SU password ==
echo -e "# Disable password for specific user\nanri ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null echo -e "# Disable password for specific user\nanri ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null
# === Yay == # === Paru ==
git clone https://aur.archlinux.org/yay.git git clone git clone https://aur.archlinux.org/paru.git
cd yay || exit cd paru || exit
makepkg -si --noconfirm makepkg -si --noconfirm
# Remove folder # Remove folder
cd .. cd ..
rm -rf yay rm -rf paru
# Enable *-git package updates # Clean files used for compilation
yay -Y --devel --save sudo sed -i "s/#CleanAfter/CleanAfter/g" /etc/paru.conf
# === AUR packages == # === AUR packages ==
yay -S --noconfirm spim-svn cal8tor otf-font-awesome paru -S --noconfirm spim-svn cal8tor otf-font-awesome
# === Rust == # === Rust ==
# Add Cargo packages from Rust # Add Cargo packages from Rust