Update arch setup to include pijulius picom

Update start-setup to get the repo at the beginning of the script
This commit is contained in:
Rodolfo 2024-07-01 14:21:53 +08:00
parent aecbf68661
commit 7ba684b06a
2 changed files with 37 additions and 0 deletions

View file

@ -123,6 +123,28 @@ echo "cd $font_PATH && tar -xvf JetBrainsMono.tar.xz"
echo "cd ''" echo "cd ''"
echo "" 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 -e "\n\n\n\n"
echo "" echo ""
echo "==================" echo "=================="

View file

@ -11,6 +11,21 @@ echo " Intro "
echo "===============" echo "==============="
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) script_PATH=$(pwd)
if [[ -d /etc/apt ]]; then if [[ -d /etc/apt ]]; then