I want to make a bash script that will run every time my computer wakes up from sleep. I will be leaving it on and logged in all the time, so a login script would be useless.
Is there a certain file name I can give it or something?
You may want to look into the pm-utils package. Have a look at this for the behavior you are specifically after.