adding auto download and install

This commit is contained in:
JaKooLit
2025-03-07 15:05:06 +09:00
parent d345c08e01
commit 3c6090925b
2 changed files with 23 additions and 0 deletions

18
auto-install.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# https://github.com/JaKooLit Arch-Hyprland
# Check if Git is installed
if ! command -v git &> /dev/null
then
echo "Git not found! Installing Git..."
sudo pacman -S --no-confirm git
fi
# Clone the repository
echo "Cloning the repository..."
git clone --depth=1 https://github.com/JaKooLit/Arch-Hyprland.git ~/Arch-Hyprland
cd ~/Arch-Hyprland
chmod +x install.sh
./install.sh