|
|
@@ -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"
|
|
|
@@ -127,9 +129,9 @@ if [[ "$restart" == "y" ]]; then
|
|
|
|
sudo cp ./system/environment /etc/environment
|
|
|
|
sudo cp ./system/environment /etc/environment
|
|
|
|
sudo cp ./system/greetd/pam /etc/pam.d/greetd
|
|
|
|
sudo cp ./system/greetd/pam /etc/pam.d/greetd
|
|
|
|
sudo cp -r ./system/greetd/config.toml /etc/greetd/
|
|
|
|
sudo cp -r ./system/greetd/config.toml /etc/greetd/
|
|
|
|
|
|
|
|
|
|
|
|
# if [[ "$platform" == "d" ]]; then
|
|
|
|
# if [[ "$platform" == "d" ]]; then
|
|
|
|
# else
|
|
|
|
# else
|
|
|
|
# echo "Setting up autologin config for greetd"
|
|
|
|
# echo "Setting up autologin config for greetd"
|
|
|
|
# sudo cp -r ./system/greetd/config-autologin.toml /etc/greetd/config.toml
|
|
|
|
# sudo cp -r ./system/greetd/config-autologin.toml /etc/greetd/config.toml
|
|
|
|
# fi
|
|
|
|
# fi
|
|
|
|