Unconfigure Greetd

This commit is contained in:
2025-01-05 22:51:19 +01:00
parent 0cbd0cd402
commit 9a716f973c

View File

@@ -25,15 +25,15 @@ echo "Deploying system configs..."
rsync -a --chown=root:root etc/ /etc/ rsync -a --chown=root:root etc/ /etc/
# Check if the script is running in a virtual machine # Check if the script is running in a virtual machine
if systemd-detect-virt | grep -vq "none"; then #if systemd-detect-virt | grep -vq "none"; then
echo "Virtual machine detected; enabling WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config..." # echo "Virtual machine detected; enabling WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config..."
# Uncomment WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config # # Uncomment WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config
sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml # sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml
fi #fi
# Enable the Greetd service # Enable the Greetd service
echo "Enabling the Greetd service..." #echo "Enabling the Greetd service..."
systemctl -f enable greetd.service #systemctl -f enable greetd.service
# Remove the repo # Remove the repo
echo "Removing the EOS Community Sway repo..." echo "Removing the EOS Community Sway repo..."