Modify the packages to your liking, make the script executable with chmod +x scriptname and then run with ./scriptname. Remember that the first part of the Arch Linux install is manual, that is you will have to partition, format and mount the disk yourself. Install the base packages and make sure to inlcude git so that you can clone the repository in chroot.
A small summary:
- If needed, load your keymap
- Refresh the servers with pacman -Syy
- If the mirrors are too slow try this command: sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
- Partition the disk
- Format the partitions
- Mount the partitions
- Install the base packages into /mnt (pacstrap /mnt base linux linux-firmware git vim intel-ucode (or amd-ucode))
- Generate the FSTAB file with genfstab -U /mnt >> /mnt/etc/FSTAB
- Chroot in with arch-chroot /mnt
- Download the git repository with git clone https://github.com/amirrezaKN/arch-install.git
- cd arch-install
- chmod +x install-uefi-virtualbox.sh
- run with ./install-uefi-virtualbox.sh
- cd int ~/Downloads/yay and run makepkg -si
- install polybar and zsh using yay
- sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
- ZSH_THEME="powerlevel10k/powerlevel10k"