diff --git a/setup b/setup index a2e9eb7..1454aaf 100755 --- a/setup +++ b/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