When I've found myself in these funks, what I've found useful is to just try and pick up a new skill. Direct your energy into learning something and the process of improvement. Doesn't have to be something super practical or complex, like for me it was just baking. You might be needing to broaden your horizons and push yourself out of the comfort zone of purely digital pursuits. Surprise yourself, to put it another way.
If you want to stick with games you could try learning a genre you never usually give the time of day. I always shill fighting games (my profile is a fighting game gimmick), and there are plenty of great resources to pick up the bare basics to develop some good fundamentals. And this exists in any genre.
Really I think it just comes down to focusing your attention on something specific. I've been laying around for almost two weeks straight now and bored out of my skull, and the cure really is to just get up and do anything.