News for hackers. Stuff that matters.
Re:Is Dark Mode Such a Good Idea? by mixmastamyk on Friday June 12, 2020 @12:19PM (#23500728)
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.

There are no comments on this comment yet.