10 lines
170 B
Bash
10 lines
170 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
MONITORS='0 9'
|
||
|
BRIGHT=`zenity --entry --width 40 --text="Brightness:"`
|
||
|
|
||
|
for m in ${MONITORS}; do
|
||
|
ddccontrol dev:/dev/i2c-${m} -r 0x10 -w ${BRIGHT}
|
||
|
done
|
||
|
|