Is Dynamic Day and Night Theme Switching Possible for KDE Plasma?

Hello KDE community,

While the KDE Plasma desktop offers a wide range of theme customization options, I’ve noticed a shortcoming, particularly regarding time-based light and dark color transitions.

Currently, to my knowledge, it’s not possible to automatically switch to a light theme during the day and a dark theme at night. If such a feature exists and I’m missing it, please let me know. However, based on my current knowledge, this functionality is typically achieved using two separate themes.

At this point, I’d like to ask you this:

Is there a framework or plan in Plasma to dynamically switch between light and dark color schemes based on the system time within a single theme?

Is such a feature currently in development, or is there a roadmap for it?

If such a feature doesn’t exist, I have a small suggestion:

If two variations light and dark, for example could be defined within a single user-defined theme, and the system could automatically switch between these two variations based on time zone or location information, such as sunrise and sunset times, this would be highly beneficial for both visual integrity and user experience.

Such a feature could be important not only for aesthetics but also for eye health and ergonomics.

I would be happy to hear the community’s and developers’ opinions on this matter.

This currently work in progress.

4 Likes

this is implemented in KDE Plasma 6.5

https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5574

The module can be enabled by running

kwriteconfig6 --notify --file kdeglobals --group KDE --key AutomaticDarkLightLookAndFeel --type bool true

alternative:

https://github.com/baduhai/Koi

(escaped links because An error occurred: Sorry, you can't include links in your posts.)