adding auto download and install
This commit is contained in:
@@ -96,6 +96,11 @@ https://github.com/user-attachments/assets/49bc12b2-abaf-45de-a21c-67aacd9bb872
|
|||||||
|
|
||||||
- After installation, check [`THIS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Notes_to_remember#--for-nvidia-gpu-users)
|
- After installation, check [`THIS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Notes_to_remember#--for-nvidia-gpu-users)
|
||||||
|
|
||||||
|
## ✨ Auto download and install
|
||||||
|
```bash
|
||||||
|
sh <(curl -L https://github.com/JaKooLit/Arch-Hyprland/raw/main/auto-install.sh)
|
||||||
|
```
|
||||||
|
|
||||||
## ✨ to use this script
|
## ✨ to use this script
|
||||||
- clone this repo (latest commit only) to reduce file size download by using git. Change directory, make executable and run the script
|
- clone this repo (latest commit only) to reduce file size download by using git. Change directory, make executable and run the script
|
||||||
|
|
||||||
|
|||||||
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