#!/usr/bin/env bash # You can solve users running this script as root # with this and then doing the same for the next for statement. # However I will leave this up to you. # shellcheck disable=SC1091 # shellcheck source=./setup.conf CONFIG_FILE=$(pwd)/setup.conf if [[ -f "$CONFIG_FILE" ]]; then source "$CONFIG_FILE" else echo "Missing file: setup.conf" exit 1 fi cd ~ || exit 1 git clone "https://aur.archlinux.org/yay.git" cd ~/yay || exit 1 makepkg -si --noconfirm cd ~ || exit 1 touch "$HOME/.cache/zshhistory" git clone "https://github.com/ChrisTitusTech/zsh" git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k ln -s "$HOME/zsh/.zshrc" ~/.zshrc yay -S --noconfirm --needed - <~/ArchTitus/pkg-files/aur-pkgs.txt export PATH=$PATH:~/.local/bin cp -r ~/ArchTitus/dotfiles/* ~/.config/ pip install konsave konsave -i ~/ArchTitus/kde.knsv sleep 1 konsave -a kde title SYSTEM READY FOR 3-post-setup.sh