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.
13 lines
249 B
13 lines
249 B
#!/bin/sh
|
|
b=$(cat /sys/class/backlight/amdgpu_bl0/brightness)
|
|
|
|
a=0
|
|
|
|
if [ $b -lt 255 ]; then
|
|
while [ $a -lt 10 -a $b -lt 255 ]; do
|
|
b=`expr $b + 1`
|
|
echo $b | sudo tee /sys/class/backlight/amdgpu_bl0/brightness
|
|
a=`expr $a + 1`
|
|
done
|
|
fi
|
|
|