#!/bin/sh
which nvrun && exec nvrun nexuiz $@
which optirun && exec optirun nexuiz $@
exec nexuiz $@