Here is a life hack I am doing.
If you find yourself in a funk, then do one significant thing a day. For example, I sent out the final version of an article, the next day I applied for a job, the next day I sent in a book proposal to a publisher, and the next day I cleaned my home office out. I hadn't been even using it. I will keep doing things like this until I feel I am out of my funk.
They can be things like resuming a good habit that you have allowed yourself to abandon. Don't do things like "I am going to eat better," that are nebulous. Make them very definite. Don't do more than one change a day, and make sure that you continue if the change you make is one that involves habitual actions. If it something that is a one-time thing, like sending an article in or cleaning out a closet, then you don't have to worry about continuity per se.
If you can't think of anything else to do then you are probably all right: you will have gotten out of your funk. Certain things, like not doing as much as you would like to, are living in messy circumstances, are both the cause and result of depression. Hence you can do something just by addressing one thing a day.