From 057b83b99b55c0531f3745fc4a7d0a96999737f2 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Mon, 14 Aug 2023 03:56:55 -0600 Subject: [PATCH] laptop config --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 64b931a..9255152 100644 --- a/.bashrc +++ b/.bashrc @@ -14,6 +14,8 @@ alias clip="xclip -selection clipboard" alias phone="simple-mtpfs" alias bell="paplay /usr/share/sounds/freedesktop/stereo/complete.oga" alias useage="du -h -d 1 2> /dev/null | sort -h" +# For laptop multi-gpu offloading +alias nvidia_gpu="DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia" export DENO_INSTALL="/home/oliver/.deno" export PATH="$DENO_INSTALL/bin:$PATH"