I'm about to go back to my day job from my lunch break, but before I do I want to announce a little tool called .

It's a lightweight partial replacement for implemented in POSIX that uses by Ted Unangst to control your display's color temperature based on the time.

It's available on at <> under a 2-clause license.

You can run it in ~/.xsession, as a cron job, or in /etc/apm/resume.

I found a bug in where the script wasn't handling times outside daylight hours properly.

That's fixed in v1.1.0, and the script will also check $DISPLAY to confirm that you have X11 running.

@starbreaker I can't focus on the code because the screenshot is so attractive I have to admire all those shades of grey, titlebar-free windowing, thick borders and xload in the corner... would you please be so kind and tell us, what window manager you are using?

@starbreaker @tedu there is sctd as well, comes with the openbsd sct package :D

@qbit oh, btw, in sctd.1 the caveat about 500 degree steps doesn't make sense? sct interpolates between values.


Thanks for telling me about this. The manual page for sct(1) didn't mention sctd under "see also" and I never thought to look at the port's Makefile. Now that I know, I might use it on desktop rigs.

blueshift approaches the same problem sctd(1) solves from a different angle. It doesn't make as many calls and doesn't run in the background and wake every 60 seconds, so it might be better for laptops unless you have a cron job calling blueshift runnng every five minutes. :)


Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko