From e95c745d44b0296ae3beb1b4e76711d2d8f5764c Mon Sep 17 00:00:00 2001 From: xSghetti Date: Tue, 16 Jul 2024 19:04:56 -0400 Subject: [PATCH] install.sh? maybe? --- clone.sh | 12 ++++++++++++ install.sh | 10 ++-------- 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100755 clone.sh 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/