aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-11-29 12:26:07 +0900
committerGitHub <noreply@github.com>2023-11-29 12:26:07 +0900
commit2a73fd775779a771f8060e22d9ed2ebe1894c8f4 (patch)
treea5175cbda99e0bb61bace7e811aee125699c7c8a /copy.sh
parentd365d1e3238fea5408279025f2b404b0420b35de (diff)
parent9434d00294fac4b891acc793aeda9cfe561b96c2 (diff)
Merge pull request #42 from JaKooLit/v2.1.11
V2.1.11
Diffstat (limited to 'copy.sh')
-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