diff --git a/scripts/brightness b/scripts/brightness index 3cce143..299250e 100755 --- a/scripts/brightness +++ b/scripts/brightness @@ -2,7 +2,7 @@ # set backlight brightness level -current=$(cat /sys/class/backlight/intel_backlight/brightness) +current=$(cat /sys/class/backlight/acpi_video0/brightness) if test -z "$1"; then echo "$current" @@ -24,4 +24,4 @@ case "$1" in esac echo "current: $new" -echo "$new" > /sys/class/backlight/intel_backlight/brightness +echo "$new" > /sys/class/backlight/acpi_video0/brightness