How do I adjust the sensitivity of a PIR sensor
Angle of detection of a PIR sensor is dictated by the shape and construction of its lens. There is no way to modify it in software or in the electronics. 

Distance depends on the power of the IR source as well as the sensitivity of the IR sensor. This may be able to be tweaked, but the specifics will depend on the schematic as well as the components in use.