forked from sharpbracket/redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredshift.ini
More file actions
151 lines (125 loc) · 5.47 KB
/
redshift.ini
File metadata and controls
151 lines (125 loc) · 5.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
; Elektra spec file for redshift@490ba2aae9cfee097a88b6e2be98aeb1ce990050 (= redshift v1.12 + some small commits)
; Based on: https://github.com/ElektraInitiative/libelektra/blob/master/examples/spec/lcdproc/LCDd.ini
; TODO:
; 1. revise hierarchy, naming and types to make redshift config files easier to read and use and less error-prone. breaks backwards-compatibility.
; 2. after 1.: split up colon-separated options for location-providers and adjustment-methods into separate CLI arguments.
; 3. after 1. and 2.: add properties "require", "default", etc.
; 4. after 1. and 2.: add command line arguments to specification
; 5. after 1. and 2.: add enum values
[]
mountpoint = redshift.ecf
infos/plugins = ni validation
; Configuration values - section redshift
;=======================================================
[redshift/temp/day]
type = unsigned_short
description = The color temperature the screen should have during daytime.
default = 6500
[redshift/temp/night]
type = unsigned_short
description = The color temperature the screen should have during nighttime.
default = 4500
[redshift/fade]
type = boolean
description = Whether transitions between color temperatures (e.g. from daytime to nighttime) should happen fast or slow.
default = 1
[redshift/brightness]
type = float
description = The screen brightness.
default = 1.0
check/range = 0-1
[redshift/brightness/day]
type = float
description = The screen brightness during daytime.
default = 1.0
check/range = 0-1
[redshift/brightness/night]
type = float
description = The screen brightness during nighttime.
default = 1.0
check/range = 0-1
[redshift/elevation/high]
type = float
description = 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 the elevation-high key it is considered daytime and below the elevation-low key it is considered night (source: https://github.com/jonls/redshift/wiki/Configuration-file#solar-elevation-thresholds).
default = 3.0
[redshift/elevation/low]
type = float
description = 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 the elevation-high key it is considered daytime and below the elevation-low key it is considered night (source: https://github.com/jonls/redshift/wiki/Configuration-file#solar-elevation-thresholds).
default = -6.0
[redshift/gamma]
type = float
description = The screen gamma.
default = 1.0
[redshift/gamma/day]
type = float
description = The screen gamma during daytime.
default = 1.0
[redshift/gamma/night]
type = float
description = The screen gamma during nighttime.
default = 1.0
[redshift/adjustment-method]
type = string
check/enum = #5
check/enum/#0 = drm
check/enum/#1 = dummy
check/enum/#2 = quartz
check/enum/#3 = randr
check/enum/#4 = vidmode
check/enum/#5 = w32gdi
description = The method used to adjust screen color temperature.
require =
[redshift/location-provider]
type = string
check/enum = #2
check/enum/#0 = corelocation
check/enum/#1 = geoclue2
check/enum/#2 = manual
require =
description = The location provider. Used to establish whether it is currently daytime or nighttime.
require =
type = string
check/date = ISO8601
check/date/format = timeofday
description = Instead of using the solar elevation, the time intervals of dawn and dusk can be specified manually (source: https://github.com/jonls/redshift/wiki/Configuration-file#custom-dawndusk-intervals).
type = string
check/date = ISO8601
check/date/format = timeofday
description = Instead of using the solar elevation, the time intervals of dawn and dusk can be specified manually (source: https://github.com/jonls/redshift/wiki/Configuration-file#custom-dawndusk-intervals).
; Configuration values - section manual
;=======================================================
; Values for location provider manual (see location_manual_set_option() in location-manual.c)
[redshift/location-providers/manual/lat]
type = float
description = The location latitude. Only has an effect if location provider "manual" is used.
check/range = -90.0-90.0
[redshift/location-providers/manual/lon]
type = float
description = The location longitude. Only has an effect if location provider "manual" is used.
check/range = -180.0-180.0
; Note: other location providers have no config parameters/cli arguments
; Configuration values - section drm
;=======================================================
; Values for the adjustment method drm
[redshift/adjustment-methods/drm/card]
type = unsigned_short
description = Graphics card to apply adjustments to.
[redshift/adjustment-methods/drm/crtc]
type = unsigned_short
description = CRTC to apply adjustments to.
; Configuration values - section randr
;=======================================================
; Values for the adjustment method randr
[redshift/adjustment-methods/randr/screen]
type = unsigned_short
description = X screen to apply adjustments to.
[redshift/adjustment-methods/randr/crtc]
type = unsigned_short
description = List of comma separated CRTCs to apply adjustments to.
; Configuration values - section vidmode
;=======================================================
; Values for the adjustment method vidmode
[redshift/adjustment-methods/vidmode/screen]
type = unsigned_short
description = X screen to apply adjustments to.
; Note: adjustment methods dummy, quartz and w32gdi have no config parameters/cli arguments or none that have an effect.