|1 year ago|
|.github||1 year ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|Makefile||1 year ago|
|README.org||1 year ago|
|li.c||1 year ago|
- LI - backLIght changer
LI - backLIght changer
Light command is a small c program that adjusts the brightness of monitors. At
the moment, only built-in monitors work i.e. most laptop monitors. Why make such
a tiny program? There was a vacuum between gui application and shell scripts.
The author did not particularly enjoy
xbacklight (specially it's dependence on a
xconfig file for the monitor in some cases, and the syntax is just stupid…
LI seeks to correct this somewhat… but it's not developed for the masses – just for me, so don't expect anything.
- Adjust brightness of built-in monitors (laptop monitors).
- Works on % of maxbrightness, not the arbitrary /sys/class/backlight… value fun.
- Micro codebase.
- Somewhat safe to
To get the latest version with git over HTTPS:
git clone https://github.com/cafkafk/li.git
To get the latest version with git over SSH:
git clone email@example.com:cafkafk/li.git
To build simply run:
To install simply run:
$ make install #+end_srcL ** Uninstalling To uninstall simply run: #+begin_src bash $ make uninstall
To get help for
$ lc --help
To set the target brightness (as an integer).
# lc [int]
Notice: the brightness is a percentage, so 100 -> 100% brightness, 50 -> 50% brightness etc…
Further it must be in the interval (0;100].
- built-in monitor support
- I2C support
- (unsure) multi-monitor