jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.9k stars 428 forks source link

Remove before midnight restriction on custom dusk-time #771

Open aherstein opened 4 years ago

aherstein commented 4 years ago

Currently custom dusk times can be set in configuration using the following setting: dusk-time=23:00-23:59, however this time range must be before midnight. Changing this setting to dusk-time=01:00-02:00 for example, results in an error "Invalid dusk/dawn time configuration!". This makes sense if taking the "dusk time" setting literally, however as someone who stays up past midnight I would like the ability to transition to a warmer setting at a time after midnight. Dawn time is also similarly restricted to after midnight. Proposal to allow any time setting for dusk-time and dawn-time as long as they are not overlapping.

CameronNemo commented 4 years ago

dupe of https://github.com/jonls/redshift/issues/627 (workaround in there).