myhome/.local/bin/runJava

3 lines
138 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 DRI_PRIME=1 exec java "$@"