Anpassungen
This commit is contained in:
@@ -42,19 +42,20 @@ chown -R "${username}:${username}" "/home/${username}"
|
||||
# Deploy system configs
|
||||
echo "Deploying system configs..."
|
||||
rsync -a --chown=root:root sway/etc/ /etc/
|
||||
rsync -a --chown=root:toot sway/usr/ /usr/
|
||||
|
||||
# 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
|
||||
|
||||
# Remove the repo
|
||||
echo "Removing the EOS Community Sway repo..."
|
||||
rm -rf sway
|
||||
|
||||
# Enable the Greetd service
|
||||
# Enable the sddm service
|
||||
echo "Enabling the Greetd service..."
|
||||
systemctl enable sddm.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user