[Brightness] Use hex instead of decimal
parent
d7cccfa5c7
commit
241c90868a
.config/i3/scripts
|
@ -4,6 +4,6 @@ MONITORS='1 4'
|
|||
BRIGHT=`zenity --entry --width 40 --text="Brightness:"`
|
||||
|
||||
for m in ${MONITORS}; do
|
||||
ddccontrol dev:/dev/i2c-${m} -r 0x10 -w ${BRIGHT}
|
||||
ddccontrol dev:/dev/i2c-${m} -r 0x10 -w $(printf "%x\n" ${BRIGHT})
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue