So I decided to try in how many lines I can make blue light and brightness reduction software for Linux and this is the result.
10 lines and works on all linux distributions
See the source code here
https://github.com/danielng01/iris-floss
More about Iris here
http://iristech.co
:)