scripts/brightness: change device name

This commit is contained in:
Michele Guerini Rocco 2023-02-05 02:08:04 +01:00
parent b2ea2c0bd9
commit 0ff4809f6b
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -2,7 +2,7 @@
# set backlight brightness level # 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 if test -z "$1"; then
echo "$current" echo "$current"
@ -24,4 +24,4 @@ case "$1" in
esac esac
echo "current: $new" echo "current: $new"
echo "$new" > /sys/class/backlight/intel_backlight/brightness echo "$new" > /sys/class/backlight/acpi_video0/brightness