It sounds like you woke up. I am glad to hear that. Now, I wish my H would do the same. For the past year my husband would stay in bed the entire weekend and just ignore me and our daughter. I would try and talk to him and pleaded to go get help for his depression but he never did. And now we are separated because I couldn't take it anymore. It's been three months and he is still asleep.
So, I am glad that you can see what you were doing and how it was effecting your family and now you are doing something about it. I just hope these changes that you are making will stick. When my H and I separated before, I had seen some changes in him so I let him move back in and they only lasted a month if that.