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/
# Check if the script is running in a virtual machine
if systemd-detect-virt | grep -vq "none"; then
echo "Virtual machine detected; enabling 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
fi
#if systemd-detect-virt | grep -vq "none"; then
# echo "Virtual machine detected; enabling 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
#fi
# Enable the Greetd service
echo "Enabling the Greetd service..."
systemctl -f enable greetd.service
#echo "Enabling the Greetd service..."
#systemctl -f enable greetd.service
# Remove the repo
echo "Removing the EOS Community Sway repo..."