update auto-install script
This commit is contained in:
		
							parent
							
								
									552b23f2da
								
							
						
					
					
						commit
						ffe4d19757
					
				| 
						 | 
				
			
			@ -250,7 +250,23 @@ echo "-----"
 | 
			
		|||
printf "\n%.0s" {1..3}
 | 
			
		||||
 | 
			
		||||
# cloning hyprland dotiles to home folder
 | 
			
		||||
# TODO
 | 
			
		||||
echo "${NOTE} downloading and installing hyprland-dotfiles..."
 | 
			
		||||
if [ -d ~/hyprland-dotfiles ]; then
 | 
			
		||||
  cd ~/hyprland-dotfiles
 | 
			
		||||
  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
 | 
			
		||||
    chmod +x copy.sh
 | 
			
		||||
    ./copy.sh
 | 
			
		||||
  else
 | 
			
		||||
    echo -e "${ERROR} could not download hyprland-dotfiles!"
 | 
			
		||||
  fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# return to nixos-config directory
 | 
			
		||||
cd ~/nixos-config
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue