Nvidia Hybrid Graphics Arch Linux

You have to specify "optirun" at the beginning of each command to be able to run that command using the dGPU.