aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog54
-rw-r--r--NEWS6
-rw-r--r--README18
3 files changed, 70 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index e69de29..1c281c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,54 @@
+2009-12-23 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Add setting gamma ramps with the VidMode extension.
+ Allow selection of gamma setting method with program parameter (-m).
+ Fallback to VidMode if RANDR doesn't work.
+
+2009-12-23 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Move source and headers to src dir.
+
+2009-12-23 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Move RandR code to separate file.
+
+2009-12-23 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Rescale blackbody values above 6500K to be in [0,1].
+
+2009-12-23 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Update NEWS
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Add autotools support.
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Add COPYING file (GPLv3).
+ Add copyright and license in file headers.
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Allow individual adjustment of each gamma channel.
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Make transition period a bit shorter.
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Have color temperature transition period be DEFINEd at the top.
+ Print current period (day, night, transition) when verbose.
+ Call setlocale() with LC_CTYPE instead of LC_ALL otherwise parameter parsing
+ is locale dependant which is confusing.
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Use getopt() to parse arguments.
+
+2009-11-04 Jon Lund Steffensen <jonlst@gmail.com>
+
+ Initial import.
+
diff --git a/NEWS b/NEWS
index 75e7d3f..885e030 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+v0.2 (2009-12-23)
+* Add a different method for setting the gamma ramps. It uses the
+ VidMode extension.
+
v0.1 (2009-11-04)
-Initial release.
+* Initial release.
diff --git a/README b/README
index 65fcff4..c545c60 100644
--- a/README
+++ b/README
@@ -6,12 +6,12 @@ Adjust color temperature of your screen according to your
surroundings. This may help your eyes hurt less if you are working in
front of the screen at night.
-The program uses the RANDR extension of the X server to adjust the
-color temperature. This is done by setting appropriate gamma ramps. If
-you have configured your own gamma ramps they will be overwritten
-but in that case you probably care too much about color accuracy
-to use this program anyway. Your graphics driver and X server needs to support
-at least RANDR version 1.3.
+The program uses an X server extension adjust the color
+temperature. This is done by setting appropriate gamma ramps. If you
+have configured your own gamma ramps they will be overwritten but in
+that case you probably care too much about color accuracy to use this
+program anyway. Your graphics driver and X server needs to either
+support at least RANDR version 1.3 or the VidMode extension.
The color temperature is set according to the position of the sun. A
different color temperature is set during night and daytime. During
@@ -38,9 +38,13 @@ have reasonable defaults.
gamma value.
-h Display help message.
-l LAT:LON Your current location in latitudes and longitudes.
+ -m METHOD Method to use to set color temperature (randr or
+ vidmode). Default is randr. In some cases one of the
+ methods will not work. In that case you may be able to
+ use the other method.
-t DAY:NIGHT Color temperature to set at daytime/night.
-v Verbose output.
Example (location is Copenhagen, Denmark):
- $ redshift -l 55.7:12.6 -t 6800:3500 -g 0.8 -v
+ $ redshift -l 55.7:12.6 -t 6800:3500 -g 0.8 -m vidmode -v