If I wasn't clear: I can trace insomnia to f.lux being disabled; I'm not aware of it at the time, but then the next day or so I'm like, "oh, yeah, f.lux was off, shit." It's not like 11:30PM rolls around and I realize f.lux is off and suddenly I can't sleep.
Yes: Short version is that you have light receptors in your eyes that you're not consciously aware of that are sensitive to blue light in the 460-480nm range & have a direct effect on sleep patterns. Exposing yourself to blue light at night time will delay the onset of sleep.
If I wasn't clear: I can trace insomnia to f.lux being disabled; I'm not aware of it at the time, but then the next day or so I'm like, "oh, yeah, f.lux was off, shit." It's not like 11:30PM rolls around and I realize f.lux is off and suddenly I can't sleep.