adding auto download and install
This commit is contained in:
18
auto-install.sh
Normal file
18
auto-install.sh
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user