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