aboutsummaryrefslogtreecommitdiffstats
path: root/redshift
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--redshift.121
-rw-r--r--redshift.conf.sample34
2 files changed, 40 insertions, 15 deletions
diff --git a/redshift.1 b/redshift.1
index 8064362..3555e15 100644
--- a/redshift.1
+++ b/redshift.1
@@ -67,7 +67,7 @@ Print mode (only print parameters and exit)
Reset mode (remove adjustment from screen)
.TP
\fB\-r\fR
-Disable temperature transitions
+Disable fading between color temperatures
.TP
\fB\-t\fR DAY:NIGHT
Color temperature to set at daytime/night
@@ -94,8 +94,9 @@ Daytime temperature
\fBtemp\-night\fR = integer
Night temperature
.TP
-\fBtransition\fR = 0 or 1
-Disable or enable transitions
+\fBfade\fR = 0 or 1
+Disable or enable fading between color temperatures when Redshift starts or
+stops
.TP
\fBbrightness\-day\fR = 0.1\-1.0
Screen brightness at daytime
@@ -104,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)
diff --git a/redshift.conf.sample b/redshift.conf.sample
index 633d0b3..882865b 100644
--- a/redshift.conf.sample
+++ b/redshift.conf.sample
@@ -4,10 +4,25 @@
temp-day=5700
temp-night=3500
-; Enable/Disable a smooth transition between day and night
-; 0 will cause a direct change from day to night screen temperature.
-; 1 will gradually increase or decrease the screen temperature.
-transition=1
+; Disable the smooth fade between temperatures when Redshift starts and stops.
+; 0 will cause an immediate change between screen temperatures.
+; 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
@@ -24,7 +39,7 @@ gamma=0.8
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6
-; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
+; Set the location-provider: 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual
@@ -48,9 +63,8 @@ lon=11.6
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
-; In this example, randr is configured to adjust screen 1.
-; Note that the numbering starts from 0, so this is actually the
-; second screen. If this option is not specified, Redshift will try
-; to adjust _all_ screens.
+; In this example, randr is configured to adjust only screen 0.
+; Note that the numbering starts from 0, so this is actually the first screen.
+; If this option is not specified, Redshift will try to adjust _all_ screens.
[randr]
-screen=1
+screen=0