fix(regreet.toml): remove export command
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user