Unconfigure Greetd
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user