Skip to content

Commit 490ba2a

Browse files
authored
README: Explain gamma ramps and why integrated features should be preferred
1 parent 2f15e92 commit 490ba2a

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ README versions: [latest](https://github.com/jonls/redshift/blob/master/README.m
1313
Run `redshift -h` for help on command line options. You can run the program
1414
as `redshift-gtk` instead of `redshift` for a graphical status icon.
1515

16-
* Website: http://jonls.dk/redshift/
1716
* Project page: https://github.com/jonls/redshift
1817

1918
Build status
@@ -22,6 +21,30 @@ Build status
2221
[![Build Status](https://travis-ci.org/jonls/redshift.svg?branch=master)](https://travis-ci.org/jonls/redshift)
2322
[![Build Status](https://ci.appveyor.com/api/projects/status/github/jonls/redshift?branch=master&svg=true)](https://ci.appveyor.com/project/jonls/redshift)
2423

24+
Technical Details (Gamma Ramps)
25+
-------------------------------
26+
27+
Redshift applies a redness effect to the graphical display. The intensity of the redness can be customized and
28+
scheduled to only be applied at night or to be applied with more intensity at night.
29+
30+
Redshift uses the gamma correction ramps to apply this effect which has traditionally been the only
31+
way of applying a color effect to the display. Note that this is really a hack to work around the absense of a
32+
standardized way of applying color effects, and it is resulting in several issues some of which are explained in
33+
the _FAQ_ section below. As long as Redshift is using gamma ramps, many of these issues are impossible to solve properly
34+
in Redshift.
35+
36+
Since Redshift was first created, many desktop environments have adopted similar functionality as an integrated
37+
component:
38+
39+
- GNOME: [Night Light](https://www.gnome.org/news/2017/03/gnome-3-24-released/attachment/night-light/)
40+
- Plasma: Night Color
41+
- Windows: [Night Light](https://support.microsoft.com/en-us/help/4027563/windows-10-set-your-display-for-night-time)
42+
- macOS: Night Shift
43+
44+
Using the features integrated into the desktop environments avoids many of the issues with gamma ramps which is why
45+
these implementations should generally be favored over Redshift. On the other hand, Redshift may offer some additional
46+
flexibility that is not available in the integrated features.
47+
2548
FAQ
2649
---
2750

0 commit comments

Comments
 (0)