Browse Source

updated copy.sh for nvidia

pull/42/head
JaKooLit 2 years ago
parent
commit
f6a702e95e
  1. 2
      copy.sh

2
copy.sh

@ -35,6 +35,8 @@ LOG="install-$(date +%d-%H%M%S)_dotfiles.log"
if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then
# NVIDIA GPU detected, uncomment line 23 in ENVariables.conf
sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf
sed -i '/env = LIBVA_DRIVER_NAME,nvidia/s/^#//' config/hypr/configs/ENVariables.conf
sed -i '/env = __GLX_VENDOR_LIBRARY_NAME,nvidia/s/^#//' config/hypr/configs/ENVariables.conf
fi
# uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected

Loading…
Cancel
Save