this means that you wake up and your head is messed up; you try to comb it, but it won't go the right way.
If it's a bad hair day, you should wear a hat.
This blog is mainly to explain a different English language expression every day. Sometimes I post other stuff. I also have a YouTube channel which is mostly about computer software: https://www.youtube.com/englishspacedog