diff --git a/after.sh b/after.sh new file mode 100644 index 0000000..fd3168a --- /dev/null +++ b/after.sh @@ -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." \ No newline at end of file