No, it was not a question about shooting dogs, but you did say that you would have shot them had you been at home.It wasn't a question about shooting dogs.
Most people recommend pepper spray. Attorney Andrew Branca does, ans poit out that dogs have a large amount of very sensifive olfactory sensory anatomy that makes the spray very effective indeed,It was a question as to the alternatives of shooting dogs to protect your family and not be confined to your house until said dogs decide to leave.
Buy a chicken if you want to have one, but fo not let your misunderstanding of Texas law lead you into doing anything stupid.That said, I've learned some about Texas law in regards to shooting stray dogs which is good. It still floors me that if I were to buy a single chicken, I could shoot the dog legally but if my toddler or 4 year old was out there, I can't. Doesn't make a bit of sense to me but the law is the law.
You may not lawfully shoot a dog simply because you have livestock or fowl and the dog is on your property.
You may lawfully shoot if the dog is attacking, is about to attack, or has attacked your animals. That's not very much different from what you may do to protect you toddler or four year old.
Of course, in either case, the burden of proof is on you, and someone else will judge the evidence that you provide in you defense.