-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrub_basesetup.sh
More file actions
executable file
·29 lines (22 loc) · 862 Bytes
/
Copy pathgrub_basesetup.sh
File metadata and controls
executable file
·29 lines (22 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Step 1: Download necessary tools
echo "Downloading necessary tools to check OS present on the disk..."
# Install GRUB-related packages (if not already installed)
sudo pacman -S --needed grub os-prober
# Step 2: Configure GRUB
echo "Configuring GRUB..."
sudo grub-mkconfig -o /boot/grub/grub.cfg
# Step 3: Update the system
echo "Updating the system..."
sudo pacman -Syyu --noconfirm
# Step 4: Install necessary dependencies
echo "Installing required packages (git, base-devel)..."
sudo pacman -S --needed git base-devel --noconfirm
# Step 5: Clone the HyDE repository
echo "Cloning HyDE repository from GitHub..."
git clone --depth 1 https://github.com/prasanthrangan/hyprdots ~/HyDE
# Step 6: Navigate to the script directory and run installation
echo "Running the HyDE installation script..."
cd ~/HyDE/Scripts/
chmod +x install
./install