But there's another important part: this only works if I've been away from screens for at least 30-60 minutes and if I haven't had any caffeine in the last 6 hours.
f.lux et al reduce the amount of time necessary to be away from the screen, but don't eliminate it. The only screen that's "safe" for me is a small black AMOLED screen (aka no backlight) with dim text.