Simple M6 nut / bolt cap hider

I didn't want sharp edges in my closet and couldn't find a fitting cap online so I made a simple one myself. Has a tight fit - stays on.