Hi!
If you’re using redshift on Linux, I made a small tool that might be useful. It automatically sets the screen temperature based on the current time, you just draw a curve for how you want it to behave during the day. Then you can just add it to crontab to run every minute or hour.
Nice! You should put a LICENSE file in your repo with the MIT license inside (Cargo.toml has the license key, but you really should have a file in your repo too)
Thanks for the reminder! Just added it.
Can you make it adjust my CPU temperature too
Just a little bit maybe XD
I was like “redshift already turns on and off automatically” then it clicked what this does. Pretty nice.
Do you have plans to make it able to adjust automatically based on sunset? Or interface with something like home assistant to read light sensor data?
Haha thanks! I don’t think so, no, at least not with this tool directly. But what you can do is build on top of it, since the points are stored in a config.json. Code that reads a light sensor value could then edit the graph by updating that config.
Can you adjust separate curves for red, green and blue?
Nope, currently just temperature. But it can definitely be added, since redshift supports it.
That would be a powerful feature and a very user-friendly way of creating what are essentially custom monitor profiles. It has my vote!
Is this similar to the built in KDE night light?
Yes very similar, but I dont think you can have more than 2 points there? Here you can set as many points as you want and it calculates a Catmull-Rom curve.
That’s cool




