Commit Graph
29 Commits
Author SHA1 Message Date
Jon Lund Steffensen a29a578b32 Handle both INT and TERM signals as exit signals. 2010-01-07 20:12:38 +01:00
Jon Lund Steffensen b6b219c217 Update README 2010-01-01 21:05:26 +01:00
Jon Lund Steffensen 0c8cb0e28c Make a short transition back to 6500K on program exit. 2010-01-01 21:00:08 +01:00
Jon Lund Steffensen 4560aae206 Save and restore ramps with VidMode. 2010-01-01 19:40:50 +01:00
Jon Lund Steffensen b61c9d59d7 Reuse X connection when adjusting gamma ramps.
Save gamma ramps when program starts and restore them on exit (only RANDR).
Try both RANDR and VidMode if nothing was specified, otherwise try only the
 specified method.
2010-01-01 19:24:01 +01:00
Jon Lund Steffensen cd80b9ede6 Update README, NEWS and ChangeLog for 0.3 release.
Increment version in configure.ac.
2009-12-28 15:42:10 +01:00
Jon Lund Steffensen 27e306c66e Add autoconf check for clock_gettime() and floor(). 2009-12-28 15:25:27 +01:00
Jon Lund Steffensen b3cbfa061d Use clock_gettime() to read current time. 2009-12-28 15:00:47 +01:00
Jon Lund Steffensen 8595c4887e Use struct timespec instead of time_t for increased time precision. 2009-12-28 14:59:41 +01:00
Jon Lund Steffensen 1846f040ea Continously change color temperature (Add -o for one shot mode).
In continous mode, make a short transition from 6500K to the target
 temperature when the program starts.
2009-12-26 00:07:01 +01:00
Jon Lund Steffensen bb5a75db6d Allow compile time selection of which method to compile in. 2009-12-25 19:43:24 +01:00
Jon Lund Steffensen af292839cf Accept method names with different case. 2009-12-25 17:09:08 +01:00
Jon Lund Steffensen 8cf56d115a VidMode: Fix memory leak. 2009-12-25 16:56:07 +01:00
Jon Lund Steffensen f7548343c8 Allow selection of X screen to apply adjustments to. 2009-12-25 16:30:56 +01:00
Jon Lund Steffensen 03b5c7f88b RANDR: Adjust color temperature fro all CRTCs. 2009-12-25 13:22:08 +01:00
Jon Lund Steffensen b5ff490c88 Increment version to 0.2 2009-12-23 18:42:03 +01:00
Jon Lund Steffensen 084fbc3a65 Update ChangeLog, README and NEWS 2009-12-23 18:38:21 +01:00
Jon Lund Steffensen cfeb79731a 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 18:25:56 +01:00
Jon Lund Steffensen 03dcd5d78a Move source and headers to src dir. 2009-12-23 17:33:17 +01:00
Jon Lund Steffensen ee1619957c Move RandR code to separate file. 2009-12-23 16:40:18 +01:00
Jon Lund Steffensen 6fff51c5b0 Rescale blackbody values above 6500K to be in [0,1]. 2009-12-23 16:14:36 +01:00
Jon Lund Steffensen 8db27d3a2b Update NEWS 2009-12-23 03:01:00 +01:00
Jon Lund Steffensen 8cdffcee92 Add autotools support. 2009-11-04 23:53:09 +01:00
Jon Lund Steffensen ccbacce463 Add COPYING file (GPLv3).
Add copyright and license in file headers.
2009-11-04 22:43:19 +01:00
Jon Lund Steffensen 485c19ef30 Allow individual adjustment of each gamma channel. 2009-11-04 22:25:26 +01:00
Jon Lund Steffensen e63ea01dbd Make transition period a bit shorter. 2009-11-04 21:56:28 +01:00
Jon Lund Steffensen 060642e637 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 21:43:10 +01:00
Jon Lund Steffensen d6164ef0dc Use getopt() to parse arguments. 2009-11-04 21:05:58 +01:00
Jon Lund Steffensen 4818f331ce Initial import. 2009-11-04 20:18:31 +01:00