aboutsummaryrefslogtreecommitdiff
path: root/lightsd.conf
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-04-14 22:12:57 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-04-14 22:12:57 +0800
commitef269036a9c21ee8ec5966f0662f4b6b328226ec (patch)
treeed83ff0af7c48b8d576fd0fcfaf9f45102f6cae5 /lightsd.conf
parentdd96de7379d68659eed8b4c795da1e4b57d3e734 (diff)
downloadlightsd-ef269036a9c21ee8ec5966f0662f4b6b328226ec.tar.xz
Added forced adjustment and minimum brightness.
Documentation(?)
Diffstat (limited to 'lightsd.conf')
-rw-r--r--lightsd.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/lightsd.conf b/lightsd.conf
index ca47344..6b39c3f 100644
--- a/lightsd.conf
+++ b/lightsd.conf
@@ -6,12 +6,14 @@ lcd_backlight_control=/sys/class/backlight/intel_backlight
#path to keyboard backlight control in sysfs
#expected files are max_brightness and brightness
+#leave empty or comment out if your laptop does not have keyboard backlight
kbd_backlight_control=/sys/bus/platform/devices/thinkpad_acpi/leds/tpacpi::kbd_backlight
#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
+#should have one more element than the threshold list
lcd_backlight_values=3,5,10,15,30,60,80,100
#seconds before a brightness change really takes place
@@ -24,11 +26,15 @@ lcd_backlight_control_delay=3
#threshold before using
lcd_backlight_trigger_range=2
+#minimum _absolute_ value for lcd backlight
+lcd_backlight_min_value=1
+
#same as their lcd conterpart
kbd_backlight_thresholds=100
kbd_backlight_values=50,0
kbd_backlight_control_delay=5
kbd_backlight_trigger_range=2
+#kbd_backlight_min_value=0
#where to create the fifo for remote control
command_fifo_path=/tmp/lightsd.cmd.fifo