imported post
I made one of these for my handgun for about $10, and it covers the trigger.
Uncle mikes holster ($6), 3"x6'x3/16" piece of metal from home depot ($3), 2x 1/4" bolts/washers/nuts ($0.50), sticky backed felt strip ($0.50).
I cut the metal strip at about 3ft (depending on size of bed. I made the cut so the end would rest between my wife and I to assure no comfort loss) and welded (glue would work too) the remaining 3 feet across the end to make more stable (making a T shape) I then bent down about 6" of the strip at a 90deg angle so I had a place to mount the uncle mikes holster. I drilled holes through the 6" bent part of the metal strip and the holster and bolted the holster to the strip. I then pasted the felt over the bolts to keep from scratching my gun.
As an extra I cut a bed skirt to allow the holster/gun to be hidden but still accessible even without blankets on the bed.