I remixed a filament sensor guide to hold a cheap endstop switch style runout sensor purchased on Amazon on the cheap. Uses 1 M4x8 screw with T-nut to mount to top of extrusion and 2 M3x25 SHCS with nuts to bolt through this switch.
Link to filament runout switch here
The author remixed this model.