r/programming • • Nov 26 '20

Dark Mode Coming to GitHub After 7 Years

https://github.com/isaacs/github/issues/66#issuecomment-733446758
6.1k Upvotes

357 comments sorted by

View all comments

Show parent comments

8

u/Sol33t303 Nov 26 '20

Some monitors support DDC/CI, using that it's possible to control your monitor through software.

I know on Linux ddcutil is available, from there you can use it to control the brightness (or anything else on your monitor for that matter) based on time by wrapping it in a bash script and giving it to cron. I'd assume Windows and Mac probably has similar software.

2

u/[deleted] Nov 26 '20

I tried this a few years ago but couldn't get it to work; maybe it was the screen's fault, or maybe I was doing it wrong. I should probably try again.

3

u/Ropianos Nov 26 '20

For me it didn't work either but I just read up on it and I was simply missing the i2c-dev driver. Other problems are mentioned here: https://www.ddcutil.com/faq/