[Setup] Fix hyprmode apply

This commit is contained in:
2025-10-16 17:05:11 +02:00
parent 627c005fe3
commit 3c76f0412a

10
setup
View File

@@ -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