diff --git a/scripts/prime-run b/scripts/prime-run new file mode 100755 index 0000000..cfd112a --- /dev/null +++ b/scripts/prime-run @@ -0,0 +1,2 @@ +#!/bin/sh +__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia exec "$@" diff --git a/zsh/completions/_prime-run b/zsh/completions/_prime-run new file mode 100644 index 0000000..6347353 --- /dev/null +++ b/zsh/completions/_prime-run @@ -0,0 +1,4 @@ +#compdef prime-run + +_arguments \ + '*:: : _normal -p $service'