From 0ff4809f6b02e31210998e9a8c7836b8a21dd9b2 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 5 Feb 2023 02:08:04 +0100 Subject: [PATCH] scripts/brightness: change device name --- scripts/brightness | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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