Projet

Général

Profil

Redshift » Historique » Version 1

pizzacoca, 13/06/2019 23:45

1 1 pizzacoca
# Redshift
2
3
> source : https://dolys.fr/forums/topic/le-nightshift-sur-votre-ordinateur/
4
5
**.configuration/redshift.conf**
6
7
~~~
8
; Global settings for redshift
9
[redshift]
10
; Set the day and night screen temperatures
11
temp-day=6500
12
temp-night=3500
13
14
; Enable/Disable a smooth transition between day and night
15
; 0 will cause a direct change from day to night screen temperature.
16
; 1 will gradually increase or decrease the screen temperature.
17
transition=1
18
19
; Set the screen brightness. Default is 1.0.
20
;brightness=0.9
21
; It is also possible to use different settings for day and night
22
; since version 1.8.
23
brightness-day=1
24
brightness-night=0.85
25
; Set the screen gamma (for all colors, or each color channel
26
; individually)
27
gamma=0.8
28
;gamma=0.8:0.7:0.8
29
; This can also be set individually for day and night since
30
; version 1.10.
31
gamma-day=0.8:0.7:0.8
32
gamma-night=0.7
33
34
; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
35
; type 'redshift -l list' to see possible values.
36
; The location provider settings are in a different section.
37
location-provider=manual
38
39
; Set the adjustment-method: 'randr', 'vidmode'
40
; type 'redshift -m list' to see all possible values.
41
; 'randr' is the preferred method, 'vidmode' is an older API.
42
; but works in some cases when 'randr' does not.
43
; The adjustment method settings are in a different section.
44
adjustment-method=randr
45
46
; Configuration of the location-provider:
47
; type 'redshift -l PROVIDER:help' to see the settings.
48
; ex: 'redshift -l manual:help'
49
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
50
; are negative numbers.
51
[manual]
52
lat=48.86
53
lon=2.34
54
55
; Configuration of the adjustment-method
56
; type 'redshift -m METHOD:help' to see the settings.
57
; ex: 'redshift -m randr:help'
58
; In this example, randr is configured to adjust screen 1.
59
; Note that the numbering starts from 0, so this is actually the
60
; second screen. If this option is not specified, Redshift will try
61
; to adjust _all_ screens.
62
[randr]
63
screen=0
64
~~~
65
66
Lancer redshift pour appliquer
67
68
~~~
69
redshift
70
~~~