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