Skip to content

Disable automatic dark/light mode?

Before darkman, I handled my dark/light theme transitions myself using a bunch of scripts. I recently migrated all those scripts over to darkman because of the D-Bus service which provides the Freedesktop color-scheme setting. Hopefully this setting will soon be supported by Chromium, and by extension all other browsers and desktop apps based on Electron (Slack, Discord etc.)

However, I'm not really interested in the light/dark cycle being controlled by the sun. This is extremely inconsistent in my area because of all the mountains and trees. It can be very dark at my house long before the sun actually goes down and long after it comes back up. It also doesn't account for things like closing the curtains when I want to play a game or watch a movie.

Instead, I have a light sensor near my desk that I use to control my light/dark theme through Home Assistant and a MQTT server.

Basically, I'm loving the practical darkman toggle, darkman set light and darkman set dark commands, and I'm loving the D-Bus service, but I don't want darkman to change my theme automatically.

It sounds a bit like I'm requesting to be able to disable the core feature of darkman, but I hope I made a case for why that would be useful.

Basically I'm hoping for a setting like:

# Disable automatic light/dark scheme switching, instead relying on the user to
# toggle the scheme manually or through automation
auto: false
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information