[Setup] Fix hyprmode apply
This commit is contained in:
		
							
								
								
									
										6
									
								
								setup
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								setup
									
									
									
									
									
								
							| @@ -36,7 +36,6 @@ else | |||||||
| fi | fi | ||||||
| platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]') | platform=$(echo "$platform" | tr '[:upper:]' '[:lower:]') | ||||||
|  |  | ||||||
|  |  | ||||||
| # ──────────────────────────────────────────────────────────────────── | # ──────────────────────────────────────────────────────────────────── | ||||||
| # Get user preference for regenerating the styling | # Get user preference for regenerating the styling | ||||||
| regen="" | regen="" | ||||||
| @@ -65,7 +64,10 @@ else | |||||||
|     read -p "Would you like to use Hyprmode? (Y/n) " hyprmode |     read -p "Would you like to use Hyprmode? (Y/n) " hyprmode | ||||||
| fi | fi | ||||||
| hyprmode=$(echo "$hyprmode" | tr '[:upper:]' '[:lower:]') | hyprmode=$(echo "$hyprmode" | tr '[:upper:]' '[:lower:]') | ||||||
|  | if [[ "$hyprmode" == "" ]]; then | ||||||
|  |     hyprmode="y" | ||||||
|  | fi | ||||||
|  | echo "$hyprmode" >~/.config/hyprmode | ||||||
|  |  | ||||||
| # ──────────────────────────────────────────────────────────────────── | # ──────────────────────────────────────────────────────────────────── | ||||||
| echo "=> Moving configs to correct destinations" | echo "=> Moving configs to correct destinations" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user