diff --git a/clone.sh b/clone.sh new file mode 100755 index 0000000..f429177 --- /dev/null +++ b/clone.sh @@ -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/ diff --git a/install.sh b/install.sh index ef10181..a9deabc 100755 --- a/install.sh +++ b/install.sh @@ -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/