diff options
author | Chris Xiong <chirs241097@gmail.com> | 2018-07-14 11:46:12 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2018-07-14 11:46:12 +0800 |
commit | ea652045bb38651d99bcc53972a524f602c3b306 (patch) | |
tree | ea7bf5f5b3f0a76faf07bfeb944b3a56f6afd527 /lightsd.conf | |
parent | e5aac499a8a2026af5d5176f45be3ac2576d75cc (diff) | |
download | lightsd-ea652045bb38651d99bcc53972a524f602c3b306.tar.xz |
Added a simple tool to create a fake sysfs backlight interface
that invokes external commands.
Some changes in the utility module to accomodate the new tool.
Added an option to watch ALS readings.
Diffstat (limited to 'lightsd.conf')
-rw-r--r-- | lightsd.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lightsd.conf b/lightsd.conf index 7217a75..6564131 100644 --- a/lightsd.conf +++ b/lightsd.conf @@ -12,7 +12,7 @@ kbd_backlight_control=/sys/bus/platform/devices/thinkpad_acpi/leds/tpacpi::kbd_b #list of (*increasing* _integer_) threshold values from the ambient light sensor, separated by commas lcd_backlight_thresholds=10,20,50,100,500,2000,10000 -#list of (_integer_) brightnesses (percentage) corresponding to the thresholds +#list of (_integer_) brightness values (in percentage) corresponding to the thresholds #should have one more element than the threshold list lcd_backlight_values=3,5,10,15,30,60,80,100 @@ -37,4 +37,8 @@ kbd_backlight_trigger_range=2 #kbd_backlight_min_value=0 #where to create the fifo for remote control +#leave empty or comment out to disable command_fifo_path=/tmp/lightsd.cmd.fifo + +#set to true if you want the reading from als to be printed to stdout everytime it changes +als_print_value=false |