Add descrption of cbacklight

This commit is contained in:
Nico Schottelius 2018-03-30 14:13:41 +02:00
parent 15e89eb779
commit 98a266d00c

View file

@ -5,4 +5,23 @@ Miscellaneous scripts used by Nico Schottelius
### cbacklight
Sets/controls backlight using /sys/class/backlight/*/brightness
directly. Usable for systems that use modesetting instead of intel driver.
directly. Usable for systems that use modesetting instead of intel
driver.
Also: supports multiple backlight outputs at the same time.
[14:12] line:~% cbackblight --help
usage: cbackblight [-h] [--inc INC | --dec DEC | --set SET] [--get]
cbacklight
optional arguments:
-h, --help show this help message and exit
--inc INC Increment by percentage (points)
--dec DEC Decrement by percentage (points)
--set SET Set to percentage
--get Get percentage (default)
[14:12] line:~% cbackblight --inc 5
[14:12] line:~% cbackblight --get
intel_backlight: 72.17%
[14:13] line:~%