4 ms·
I have a script with ddccontrol to change brightness of my external monitor: ddccontrol -r 0x10 -w ${NUM}0 dev:/dev/i2c-${DEV_NUM} The internal: BAC
by mixmastamyk 6y ago
I have a script with ddccontrol to change brightness of my external monitor:
ddccontrol -r 0x10 -w ${NUM}0 dev:/dev/i2c-${DEV_NUM}
The internal:
BACKLIGHT_PATH="/sys/class/backlight/intel_backlight/brightness"
sh -c "echo ${NUM} > $BACKLIGHT_PATH"
The numbers are a slightly different scale, so I adjust them in the script.