Yeah, I know luck isn't personal. It's an awful lot easier to accept the bad stuff that directly relates to my own life choices, though. At least with that I can acknowledge the stuff up, make better choices, and move on. But when stuff bowls in that's beyond my control, and with such alarming consistency, I can't just shrug that off. I'm angry that no amount of hard work seems to improve my circumstances.
It does sound like you've got a lot of pressure on you, and I know exactly what adding depression to that is like. It's just about too much to go to the toilet, never mind work and study and all that looking after yourself business. But you're doing those things with goals in mind, and you're taking steps to improve your mental health along the way, and that's good (hopefully the meds start doing what they're meant to, soon). And uni is pretty forgiving in some ways. If you haven't, maybe explain to your tutor(s) that you've had some stuff to deal with (no need to go into detail) and are struggling a bit. It shouldn't be hard to get a bit of extra help, or extensions on assignments where needed, some private tutoring maybe or other resources to help you get caught up and feeling more confident for your exam. There are options to help you succeed.
Can't argue that lack of structure is a problem for me. Though the only structure I really must have as an individual is the ability to get a full sleep every day/night somewhere, somehow. Didn't think I was asking much, but life has really been giving me the finger, on that one. Good chance for a sleep-in this morning: neighbour killed it.
But other than that, today worked out to be surprisingly good. I know I've said my job sucks. Upper management are a disaster: under-staffing, constant cutbacks, etc. But the people in the trenches with me are great, otherwise I wouldn't have persisted for as long. My manager today, out of the blue, handed me a $20 gift card - a thank you, he said, for taking on board all the random shift changes lately. As much a lifeline, I think, because he knows I've been struggling. Now I can go out at least once this week without destroying my food budget. So I'll finish up on another nerdy note: "Qapla'!" (I'll be so, so pleased if you know what that means.)