13 lines
166 B
Bash
Executable File
13 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
count=200
|
|
for i in $(seq $count); do
|
|
case $1 in
|
|
'up')
|
|
brightnessctl s +4
|
|
;;
|
|
'down')
|
|
brightnessctl s 4-
|
|
;;
|
|
esac
|
|
done
|