fix(regreet.toml): remove export command

This commit is contained in:
BluishHumility
2024-08-22 10:11:58 -04:00
parent 7aa89b6b13
commit ea0a906f4c
3 changed files with 4 additions and 4 deletions

View File

@@ -26,11 +26,11 @@ QT_QPA_PLATFORM = "wayland"
# Prevent using hardware cursors in Wayland, forcing software-rendered cursors. # Prevent using hardware cursors in Wayland, forcing software-rendered cursors.
# Uncomment if you experience issues with your cursor # Uncomment if you experience issues with your cursor
#export WLR_NO_HARDWARE_CURSORS = "1" #WLR_NO_HARDWARE_CURSORS = "1"
# Allow the Wayland renderer to fall back to software rendering if necessary. # Allow the Wayland renderer to fall back to software rendering if necessary.
# Uncomment if you are running in a virtual machine or have an underpowered GPU # Uncomment if you are running in a virtual machine or have an underpowered GPU
#export WLR_RENDERER_ALLOW_SOFTWARE = "1" #WLR_RENDERER_ALLOW_SOFTWARE = "1"
[GTK] [GTK]
# Whether to use the dark theme # Whether to use the dark theme

View File

@@ -25,7 +25,7 @@ rsync -a --chown=root:root sway/etc/ /etc/
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 '/^#export WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml
fi fi
# Remove the repo # Remove the repo

View File

@@ -28,7 +28,7 @@ rsync -a --chown=root:root etc/ /etc/
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 '/^#export 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