Get the latest tech news

Automatic dark mode with OpenBSD and dwm


Hacking my way to smart color theme switching.

Things might be easier with a full desktop environment, but on BSD and Linux I tend to prefer just running a simple window manager like dwm. There are several tools dedicated to this, but I opted to use Redshift, which also adjusts the color temperature of your screen throughout the day to make it easier on the eyes. As a bonus, I recommend the excellent Stylus browser extension together with dark themes for Wikipedia, Stack Overflow, etc.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of openbsd

openbsd

Photo of Automatic dark mode

Automatic dark mode

Related news:

News photo

OpenBSD is a cozy operating system

News photo

OpenBSD 7.5 Released - Faster Performance For Many-Core ARM Servers