scripts/brightness: change device name
This commit is contained in:
parent
b2ea2c0bd9
commit
0ff4809f6b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user