From 2e566f8797ca6290ea3721dc55b16024079864c5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 7 Apr 2024 02:03:05 +0300 Subject: [PATCH] minor bugfix... Signed-off-by: Alex A. Naanou --- thinkpad-keyboard-brightness.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thinkpad-keyboard-brightness.service b/thinkpad-keyboard-brightness.service index b1c5534..47fa743 100644 --- a/thinkpad-keyboard-brightness.service +++ b/thinkpad-keyboard-brightness.service @@ -3,7 +3,7 @@ Description="Turn keyboard backlight on/off based on light sensor" [Service] Type=exec -Environment=SENSOR=/sys/bus/iio/devices/iio:device2/in_illuminance_raw +Environment=SENSOR=/sys/bus/iio/devices/iio:device*/in_illuminance_raw Environment=TRIGGER=/sys/class/leds/tpacpi::kbd_backlight/brightness Environment=THRESHOLD=1500 Environment=VALUE=1