Add after.sh

This commit is contained in:
Baltrust 2026-09-30 01:57:40 +03:00
parent c917a42dc4
commit d1bf001cc7

22
after.sh Normal file
View file

@ -0,0 +1,22 @@
#!/bin/bash
set -e
read -rp "Enter your username: " USERNAME
if ! id "$USERNAME" &>/dev/null; then
echo "Error: user '$USERNAME' does not exist."
exit 1
fi
pacman -S --needed --noconfirm git base-devel
su - "$USERNAME" <<'EOF'
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si --noconfirm
yay -S --needed --noconfirm --removemake zsh-theme-powerlevel10k ttf-meslo-nerd coolercontrol-bin mangojuice heroic-games-launcher-bin polymc-qt5-bin open-video-downloader-bin brave-bin onlyoffice-bin
EOF
echo "Done."