I listen to extreme metal with heavy brutal riffs or something that sounds energetic and with positive atmosphere. Don't want to sound edgy at all, If It seems like that on the outside. It's just that I speak from my own experience. I've been dabbling with melancholic and sad music in periods like this and it only brought me down. Bands like Bolt Thrower, Dissection, Crowbar, Tool and many more are what inspire me and get me going.
Everyone's different though, just sharing how things are with me.
And I still appreciate all types of music including the sad types of music, but I know when not to listen to them and in what quantities should I listen to them.