Mailing the story:
Give your eyes a break in the evenings with Redshift
Eyes hurting at night from the glare of your screen? Perhaps it's even affecting your sleep? Then maybe you should give Redshift a try, a program similar to Twilight on Android and inspired by the likes of f.lux.