Fredrik Haikarainen 3be031dda3 Tweaked README 12 lat temu
LICENSE Final fixes before first release, license. 12 lat temu
Makefile added files 12 lat temu
README Tweaked README 12 lat temu
main.c Dumdidumm.. 12 lat temu

README

Light 0.4
---------

Copyright (C) 2012 - Fredrik Haikarainen
Program is licensed under the GPLv3 (Read LICENSE before contiuing)

- Description ---

"Light" is a program to control backlight-controllers in GNU/Linux-systems. It is the successor of "LightScript",
which is a bash-script with the same purpose, and tries to maintain the same functionality.

It features:

* Works excellent where other software has proven unusable/problematic(xbacklight etc) thanks to how
it operates internally, and the fact that it doesn't need X.

* Automatically figures out the best controller to use depending on its resolution, making full use
of the underlying hardware.

* Written in ANSI C89 - which practically makes it as portable as a program can be, with the exception
of the glibc-dependency.

* Has a default minimumcap of 5% brightness, easily changeable in /etc/light/minlight. This to prevent
screens from turning pitchblack, since some controllers do that on 0 brightness.

- Usage ---

Executed without arguments, light prints usage-information that is pretty self-explanatory.

Examples:

Set brightness to 40 percent:
light 40

Increase brightness with 10% and supress output:
light -aq 10

Print the maximum-brightness of the best controller and exit:
light -m


- Installation ---

1. Install the neccesary buildtools (make, gcc etc)

2. Type "make stable"

3. Success? Copy/symlink the "light"-executable to /usr/bin.

4. Enjoy!

5. Optionally create /etc/light/minlight to set a minimumcap.


- Contact ---

In case of any feedback(problems/bugs, feature-requests etc) contact me directly on fredrik.haikarainen@gmail.com