I wrote a small tool in C using the nvcontrol API
and published the source and makefile here:
it will simply switch output. no way back, no confirmation
dialog or anything. I hope nvidia can add some "--switch-output"
flag to nvidia-settings, so we don't need such extra tools in