diff --git a/archsetup.sh b/archsetup.sh index 3b1958f..fbbd130 100755 --- a/archsetup.sh +++ b/archsetup.sh @@ -123,6 +123,28 @@ echo "cd $font_PATH && tar -xvf JetBrainsMono.tar.xz" echo "cd ''" echo "" +# Build pijulius's Picom + +while true; do + read -p "Do you want to install the Pijulius's Picom? (y/n) " answer + if [[ "${answer,,}" == "y" ]]; then + echo "sudo pacman -S --noconfirm --needed " + echo "git clone https://github/pijulius/picom $home_PATH/Software/picom" + echo "cd $home_PATH/Software/picom" + echo "git checkout implemented-window-animations" + echo "git submodule update --init --recursive" + echo "meson --buildtype=release . build" + echo "ninja -C build" + echo "ninja -C build install" + echo "cd ''" + break + elif [[ "${answer,,}" == "n" ]]; then + break + else + echo "Invalid Response (y/n)" + fi +done + echo -e "\n\n\n\n" echo "" echo "==================" diff --git a/start-setup.sh b/start-setup.sh index e67ce4c..419b49d 100755 --- a/start-setup.sh +++ b/start-setup.sh @@ -11,6 +11,21 @@ echo " Intro " echo "===============" echo "" +# Check for Repos directory +if [[ ! -d /home/$(whoami)/Repos ]]; then + echo "mkdir /home/$(whoami)/Repos" +fi + +# Check for git +if [[ ! -f /bin/git ]]; then + echo "Authentication Is Required. Enter $username's password" + echo "sudo pacman -S --noconfirm --needed git" + echo "" +fi + +echo "git clone https://gitea.barcelli.net/rodolfo/arch-automated-installer /home/$(whoami)/Repos/arch-automated-installer" +cd /home/$(whoami)/Repos/arch-automated-installer + script_PATH=$(pwd) if [[ -d /etc/apt ]]; then