This repository was archived by the owner on Oct 10, 2018. It is now read-only.
aarontabor/mba-brightnesscontrol
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Tools to adjust monitor and keyboard brightness on Macbook air:
keyboardLight: controls the keyboard backlight intensity
displayLight: controls the monitor intensity
Usage:
light --set <percentage>
- sets brightness to specified percentage
light --increment
- increments current brightness by 10% (should take ten calls to go from
empty to full)
light --decrement
- decrements current brightness by 10% (should take ten calls to go from
full to empty)
Build Instructions:
make
** tools must be run as root (or privilidged) user since they are accessing
device files. To allow usage by a normal user, invoke the following script from
the project directory after a successful build:
./allowNormalUserAccess