I proved a lemma while shampooing as well.
It gives immense pleasure to run away naked and wet, grab a pencil, and scribble some nonsense in a paper.
I have a waterproof notebook for situations just like these, though it got mostly used to sketch out public talks - during showers I would often think about the points I wanted to make, and suddenly, new insights would dawn on me.
Someone should build a wifi-enabled touchscreen shower door for saving shower thoughts to the cloud.
Not nearly as cool, but sometimes a tricky client problem that's been bothering me seems to solve itself in my head, and I try to frantically diagram it or write it in the condensation on the inside of the shower door to make sure it checks out and to help me remember it. It's happened several times.