update auto install script
This commit is contained in:
parent
706eb509e8
commit
b47f8eaf19
|
@ -249,21 +249,22 @@ echo "-----"
|
|||
printf "\n%.0s" {1..3}
|
||||
|
||||
# cloning hyprland dotiles to home folder
|
||||
echo "${NOTE} downloading and installing hyprland-dotfiles..."
|
||||
if [ -d ~/hyprland-dotfiles ]; then
|
||||
cd ~/hyprland-dotfiles
|
||||
echo "${NOTE} downloading and installing nixos-dots..."
|
||||
if [ -d ~/nixos-dots ]; then
|
||||
cd ~/nixos-dots
|
||||
git stash
|
||||
git pull
|
||||
git stash apply
|
||||
chmod +x copy.sh
|
||||
./copy.sh
|
||||
else
|
||||
if git clone --depth 1 https://g.r-io.lu/shynd/hyprland-dotfiles ~/hyprland-dotfiles; then
|
||||
cd ~/hyprland-dotfiles || exit 1
|
||||
if git clone --depth 1 https://g.r-io.lu/shynd/nixos-dots ~/nixos-dots; then
|
||||
cd ~/nixos-dots || exit 1
|
||||
chmod +x copy.sh
|
||||
./copy.sh
|
||||
else
|
||||
echo -e "${ERROR} could not download hyprland-dotfiles!"
|
||||
echo -e "${ERROR} could not download nixos-dots!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -279,7 +280,7 @@ printf "\n%.0s" {1..2}
|
|||
if command -v Hyprland &> /dev/null; then
|
||||
printf "\n${OK} installation completed!${RESET}\n"
|
||||
sleep 2
|
||||
printf "\n${NOTE} you can start Hyprland by typing Hyprland (not the capital H)${RESET}\n"
|
||||
printf "\n${NOTE} you can start Hyprland by typing Hyprland (note the capital H)${RESET}\n"
|
||||
printf "\n${NOTE} it is highly recommended to reboot your system${RESET}\n\n"
|
||||
|
||||
# prompt user to reboot
|
||||
|
|
Loading…
Reference in New Issue