secret agent style
I've seen 'pillow safes', a pillow made out of tempurpedic type material with a slit in the side with a pocket for a handgun, not for your dirty harry gun (try sleeping on that), or a gun w/o a locking safety (glock/xd), but it looked like a slimline handgun would fit nicely. and when you wake up, either holster it or lock it away to keep safe from kids.
you could easily make your own pillowsafe. maybe even get a patent!