[Build] Fix up
This commit is contained in:
		
							
								
								
									
										8
									
								
								setup
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								setup
									
									
									
									
									
								
							| @@ -28,11 +28,12 @@ echo " | ||||
| platform="" | ||||
| if [[ -f ~/.config/platform ]]; then | ||||
|     echo "Config type already selected, skipping" | ||||
|     platform=$(cat ~/.config/platform) | ||||
| else | ||||
|     read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform | ||||
|     echo "$platform" > ~/.config/platform | ||||
| fi | ||||
| platform=$(echo "$content" | tr '[:upper:]' '[:lower:]') | ||||
| platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]') | ||||
|  | ||||
| # Get user preference for regenerating the styling | ||||
| regen="" | ||||
| @@ -43,9 +44,7 @@ if [ $regen == "y" ]; then | ||||
|     cd .. | ||||
| fi | ||||
|  | ||||
| echo " | ||||
|     => Moving configs to correct destinations | ||||
| " | ||||
| echo "=> Moving configs to correct destinations" | ||||
| killall swaybg | ||||
| cp -r ./config/fish ~/.config/ | ||||
| cp -r ./config/hypr ~/.config/ | ||||
| @@ -54,6 +53,7 @@ cp -r ./config/hypr ~/.config/ | ||||
| if [[ "$platform" == "d" ]]; then | ||||
|     mv ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf | ||||
|     rm ~/.config/hypr/hyprland_* | ||||
|     echo "Running on desktop" | ||||
| else | ||||
|     mv ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf | ||||
|     rm ~/.config/hypr/hyprland_* | ||||
|   | ||||
		Reference in New Issue
	
	Block a user