Have you tried blue light glasses? I heard so many people talking about them that I had to give them a try. I have to say overall it feels better when I wear them when I spend a whole day on the computer. I purchased 2 pairs, one for near my desk and another for night time next to my bedside.
Basically, blue-light blocking glasses have filters in their lenses that block or absorb blue light from getting through. That means if you use these glasses when looking at a screen, especially after dark, they can help reduce exposure to blue light waves that can keep you awake.
This Warby Parker pair are like the ones I have.
This pair of gold rim blue light glasses I use at work.