Control backlight of 51NB X330 (X230 with FHD mod)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

5 lines
184 B

#!/usr/bin/env bash
while inotifywait -qq -e modify /sys/class/backlight/acpi_video0/actual_brightness
do
x330backlight $(cat /sys/class/backlight/acpi_video0/actual_brightness)
done