|
|
|
|
@ -30,6 +30,7 @@ fi
|
|
|
|
|
# uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected |
|
|
|
|
if hostnamectl | grep -q 'Chassis: vm'; then |
|
|
|
|
echo "This script is running in a virtual machine." |
|
|
|
|
sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf |
|
|
|
|
sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/configs/ENVariables.conf |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|