Jon Lund Steffensen
2c877b3db0
Switch to heirarchial makefiles. Seems to be the only way to make
...
distcheck happy :(
2010-02-11 23:15:01 +01:00
Jon Lund Steffensen
e8b121c0dc
gtk-redshift: Use absolute path when launching redshift process.
2010-02-11 22:14:33 +01:00
Jon Lund Steffensen
739f806f19
Turn gtk-redshift into a python module. A launcher script is installed
...
in bindir.
2010-02-11 22:06:12 +01:00
Jon Lund Steffensen
277df9da54
gtk-redshift: Use local definitions for locale path.
2010-02-11 20:56:32 +01:00
Jon Lund Steffensen
27331fa532
Add templete for python source file with local definitions.
2010-02-11 20:55:38 +01:00
Jon Lund Steffensen
da622908b0
redshift.c: Handle -? parameter. This is also used when a parameter is
...
not recognized.
Update translations.
2010-02-10 22:52:11 +01:00
Jon Lund Steffensen
e1f84c5c8d
Update help strings: --help does not actually work, change to -h.
...
Update po files.
2010-02-10 22:05:04 +01:00
Jon Lund Steffensen
a3f67071c1
redshift.c: Use LOCALEDIR define.
2010-02-10 21:58:06 +01:00
Jon Lund Steffensen
bc79a1408e
gtk-redshift.py: Use 'redshift' gettext catalog
2010-02-10 21:53:53 +01:00
Jon Lund Steffensen
75857f38a7
Add po support files.
...
Add extension to gtk-redshift to satisfy update-po rules.
2010-02-10 21:46:16 +01:00
Jon Lund Steffensen
59db9546e5
Add gettext support in redshift.
2010-02-02 00:51:50 +01:00
Jon Lund Steffensen
af6a3ebf28
Add i18n support in gtk-redshift
2010-02-01 22:53:19 +01:00
Jon Lund Steffensen
66aab46d8a
Fix: Typo in comment
2010-01-14 00:53:30 +01:00
Jon Lund Steffensen
023f5dba15
Add python script to control redshift through a status icon (tray icon).
2010-01-14 00:19:40 +01:00
Jon Lund Steffensen
8918855fee
Add some comments in the redshift.c.
2010-01-09 16:09:16 +01:00
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
687a5069c7
Add include of stdint.h in header files.
2010-01-07 20:26:22 +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
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
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
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