Deleted prime render offload

This commit is contained in:
Boria138
2023-11-25 17:33:23 +06:00
parent b08e82be14
commit f0d526f3af
5 changed files with 7 additions and 24 deletions

View File

@ -308,10 +308,8 @@ check_user_conf () {
echo "# User overides db and var settings..." >> "${USER_CONF}"
echo "# export DXVK_HUD=full" >> "${USER_CONF}"
echo "# export GALLIUM_HUD=fps" >> "${USER_CONF}"
echo "export optirun_on= #nvidia-prime-run or prime-run" >> "${USER_CONF}"
else
grep "optirun_on" "${USER_CONF}" >/dev/null
[[ "$?" != 0 ]] && echo "export optirun_on=" >> "${USER_CONF}"
elif grep "optirun_on" "${USER_CONF}" ; then
sed -i '/optirun_on/d' "${USER_CONF}"
fi
}