Sorry to hear about that. Even after losing many friends over suicide, it's crazy how life can get you down and you start contemplating the same thing. There have been times where I've bury my face in a pile of cocaine and wish for the same thing, only to be not go through with it because of the lives of loved ones it would disrupt. Other times, I want to live for a million years.
Raise your emotional set point by doing lots of high "flow activities" (Google it). I've been spending lots of time learning how to improve my life experience - it can be learned like any other skill. Instead of letting happiness be something fleeting, learn to cultivate and develop it. That way you don't have to wait for "good" things to happen and subsequently make you happy. You need to have inner peace, that way everything else is just a ripple on the surface.
I highly recommend the book The Power of Now by Eckhart Tolle. Actually any of his books are good... they got me into reading self-improvement stuff. I still battle with depression and sometimes even suicidal thoughts, but I've become a lot more content and have helped countless friends and family members since I purposefully tried improving my own life. Just a thought. Hope it can help someone out there. Suicide and depression are almost always dealt with in secrecy and shame, so I hope this reaches someone. Life is worth living, brothers.