Compare commits

...

2 commits

Author SHA1 Message Date
Rodolfo d9e78a9ae1 Update start-setup.sh to consider if the repo has been pulled or not
before starting
2024-07-01 14:24:42 +08:00
Rodolfo 7ba684b06a Update arch setup to include pijulius picom
Update start-setup to get the repo at the beginning of the script
2024-07-01 14:21:53 +08:00
2 changed files with 39 additions and 0 deletions

View file

@ -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 "=================="

View file

@ -11,6 +11,23 @@ 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
if [[ ! -d /home/$(whoami)/Repos/arch-automated-installer ]]; then
echo "git clone https://gitea.barcelli.net/rodolfo/arch-automated-installer /home/$(whoami)/Repos/arch-automated-installer"
echo "cd /home/$(whoami)/Repos/arch-automated-installer"
fi
script_PATH=$(pwd)
if [[ -d /etc/apt ]]; then