i don't think it's going to die, but if it does, lesson learnt for next time.
Don't feed cooked Shrimp to your fish !
The nutrional value is decreased when cooked and neccessary enzymes for digestion are stripped away !
If your going to feed shrimp, make sure it is as fresh as possible with no additives. Freeze them for 24-48hours to remove parasites. Don't buy the peeled shrimp unless you are 100% sure they are fresh and additve free. The ones from the supermarkets always have additves, don't use them.
This is most probable reason why your fish is the way it is.
You can add some epson salt to the tank to help with it's digestion.
If your water paramenters are good, then the fish should ok.