I don't see anywhere in Custom Segment setup where you can apply to shipping items. You're likely not missing anything. There are still some gaps with custom segments compared to regular ones. Looks like this might be one.
You could in theory do that GL line scripting to record it to the custom segment, but that might be overkill.