Focus on what you’re doing right now
This may not be appealing if the present feels, well, kind of shitty, but focusing only on what you’re doing right now can weirdly go a long way toward making you feel better about the future. There's no trick to it, really, other than to accept what comes up without judging it. It's nothing more than paying attention to what’s around you without thinking about what you'll have for your next meal or how to respond to the email you just received.
Not big on the idea of paying attention to grayish cubicle walls, if that’s your situation? You can create these moments elsewhere by doing something that requires your full attention, like sports, art, cooking a meal, learning or listening to music, or exercising.
Find a sense of purpose (or be cool with not having one)
Boredom with life can come from a place of existential anxiety, which has been around as long as, well, existence, and was mythologized by the Greeks a long time ago. It’s nothing new, and it makes the future seem pretty grim.
Of course, when you feel like you have a purpose, the future's not as bleak. How do you find a purpose? The easiest way is to feel like you play a role in society. Volunteer, ask a friend how she’s doing, organize a clothing drive. Other ways of gaining meaning are creating (art, writing, music), learning, and connecting to spirituality if you're into that. Or you could have a kid to bring you meaning, if everything else has failed. That always goes well (please don’t do this).