Originally I wanted to try to get a ripper for a bayo, but that proved to be too difficult. I couldn't make a stun baton that worked properly, either. Instead, you get this. Good enough for now, I guess.
Older screenshots were taken with Gauss Rifle Retexture installed with black shield option (http://www.nexusmods.com/fallout4/mods/4894/?). It clashes a bit with the low-res bayonet textures, though, so I recommend just using this shroud mod instead (http://www.nexusmods.com/fallout4/mods/4635/?).
v1.1: Finally realized I didn't offset the blood model (when you get blood stuck on your bayonet) to match the bayonet's location. Fixed it.