install.sh? maybe?

This commit is contained in:
xSghetti 2024-07-16 19:04:56 -04:00
parent 0e94c14841
commit e95c745d44
2 changed files with 14 additions and 8 deletions

12
clone.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# Clone the repository
git clone https://github.com/xsghetti/hyprcrux
# Copy the configuration files
cp -r ~/hyprcrux/.config/* ~/.config/
# Copy icons, fonts, and themes to their respective system directories
sudo cp -r ~/hyprcrux/src/icons/* /usr/share/icons/
sudo cp -r ~/hyprcrux/src/fonts/* /usr/share/fonts/
sudo cp -r ~/hyprcrux/src/themes/* /usr/share/themes/

View file

@ -6,13 +6,7 @@ makepkg -si
sudo pacman -S --needed - < ~/script/pacman.txt
yay -S - < ~/script/yay.txt
# Clone the repository
git clone https://github.com/xsghetti/hyprcrux
cd ~/script/
./clone.sh
# Copy the configuration files
cp -r ~/hyprcrux/.config/* ~/.config/
# Copy icons, fonts, and themes to their respective system directories
sudo cp -r ~/hyprcrux/src/icons/* /usr/share/icons/
sudo cp -r ~/hyprcrux/src/fonts/* /usr/share/fonts/
sudo cp -r ~/hyprcrux/src/themes/* /usr/share/themes/