Anpassungen

This commit is contained in:
2025-01-06 01:18:11 +01:00
parent c1948095fc
commit a0ee9dd081
25 changed files with 822 additions and 77 deletions

View File

@@ -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