Jon Lund Steffensen
1bb58377aa
Fix formating of help message.
2010-01-09 16:02:45 +01:00
Jon Lund Steffensen
32e61ecff6
Switch between enabled and disabled on USR1 signal.
...
Transition between the two states.
2010-01-09 15:52:51 +01:00
Jon Lund Steffensen
9c3d89dc52
Fix: Terminate loop immediately on second exit signal.
2010-01-07 20:15:46 +01:00
Jon Lund Steffensen
a29a578b32
Handle both INT and TERM signals as exit signals.
2010-01-07 20:12:38 +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
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
b3cbfa061d
Use clock_gettime() to read current time.
2009-12-28 15:00:47 +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
f7548343c8
Allow selection of X screen to apply adjustments to.
2009-12-25 16:30:56 +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