From 4a182bbef161d7a9fbe11ec204d764edb2232db2 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 11 Oct 2017 17:52:45 -0700 Subject: man: Add documentation for dawn-time/dusk-time --- redshift.1 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/redshift.1 b/redshift.1 index 215dedf..3555e15 100644 --- a/redshift.1 +++ b/redshift.1 @@ -105,10 +105,20 @@ Screen brightness at daytime Screen brightness at night .TP \fBelevation-high\fR = decimal -The solar elevation for the transition to daytime +The solar elevation in degrees for the transition to daytime .TP \fBelevation-low\fR = decimal -The solar elevation for the transition to night +The solar elevation in degrees for the transition to night +.TP +\fBdawn-time\fR = HH:MM[-HH:MM] +The custom time interval for the transition from night to day in the morning. +When specified, the solar elevation will not be used to determine the current +daytime/night period. If this option is set, dusk-time must also be specified. +.TP +\fBdusk-time\fR = HH:MM[-HH:MM] +The custom time interval for the transition from day to night in the evening. +When specified, the solar elevation will not be used to determine the current +daytime/night period. If this option is set, dawn-time must also be specified. .TP \fBgamma\fR = R:G:B Gamma adjustment to apply (day and night) -- cgit v1.2.3-70-g09d2 From 9b8b612072b86b14ec6e0571a0764355915b197e Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 11 Oct 2017 17:53:05 -0700 Subject: Add dawn-time/dusk-time to sample config --- redshift.conf.sample | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/redshift.conf.sample b/redshift.conf.sample index 51dc0b3..882865b 100644 --- a/redshift.conf.sample +++ b/redshift.conf.sample @@ -9,6 +9,21 @@ temp-night=3500 ; 1 will gradually apply the new screen temperature over a couple of seconds. fade=1 +; Solar elevation thresholds. +; By default, Redshift will use the current elevation of the sun to determine +; whether it is daytime, night or in transition (dawn/dusk). When the sun is +; above the degrees specified with elevation-high it is considered daytime and +; below elevation-low it is considered night. +;elevation-high=3 +;elevation-low=-6 + +; Custom dawn/dusk intervals. +; Instead of using the solar elevation, the time intervals of dawn and dusk +; can be specified manually. The times must be specified as HH:MM in 24-hour +; format. +;dawn-time=6:00-7:45 +;dusk-time=18:35-20:15 + ; Set the screen brightness. Default is 1.0. ;brightness=0.9 ; It is also possible to use different settings for day and night -- cgit v1.2.3-70-g09d2