From b47f8eaf19311ae90ebbc31bab60261fdb59de99 Mon Sep 17 00:00:00 2001 From: shynd Date: Tue, 25 Feb 2025 17:36:02 +0100 Subject: [PATCH] update auto install script --- auto-install.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/auto-install.sh b/auto-install.sh index 719e199..46163ae 100755 --- a/auto-install.sh +++ b/auto-install.sh @@ -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