Option 'driver_sgthrs' is not valid in section 'tmc5160 stepper_x'

Welcome MoldyPerc,

I agree with EddyMI3D.

You might look for “driver_SGT” Configuration reference - Klipper documentation. The settings for that register are probably as sensitive like the settings for TMC2240, since both chips are similar from a logic point of view. You might have a look here Sensorless Homing with the TMC 2240 drivers - #47 by mykepredko and of course above.