From 98a266d00c07c3a411544cef603a14df738d6984 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 30 Mar 2018 14:13:41 +0200 Subject: [PATCH] Add descrption of cbacklight --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e0f1bf..1c4b30d 100644 --- a/README.md +++ b/README.md @@ -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:~%