aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2023-11-28 22:52:18 +0900
committerJaKooLit <ejhay.games@gmail.com>2023-11-28 22:52:18 +0900
commitf6a702e95e80f33295a405677d76c7625dede217 (patch)
treee43c35c39465404d974747ebd22d147cefd99bdf
parent5f1ba7f921d11befc3fc1831cead8005aedac9ac (diff)
updated copy.sh for nvidia
-rwxr-xr-xcopy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/copy.sh b/copy.sh
index a005aa79..32532474 100755
--- a/copy.sh
+++ b/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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage