I would spend the $5 to fix your trash cans. It will help with rodents too. A gate latch and carabiner can secure most type of lids. Or with my round can I just take a bungee cord and run it diagonal across the lid from handle to handle.
Also if we know your location, country and/or state/province we might be able to suggest a cat rescue group that would help you trap them and get the homes where they get fed and/or educate the current owners at no cost to you.

Also if we know your location, country and/or state/province we might be able to suggest a cat rescue group that would help you trap them and get the homes where they get fed and/or educate the current owners at no cost to you.