Please note that we are NOT currently providing keys to … personal projects
I’d like to know whether kcmshell5 kcm_nightcolor exposes any method (dbus?) of getting whether the current time is day or not.
I’d like this because Plasma can’t currently automatically switch between Breeze’s Dark and Light themes depending upon whether the current time is day or night like Android and Windows 11 can. I suppose that I could check whether this preference has been enabled and then whether the night color is active, but that seems very hacky.
Yeah, but I’d like to develop a simple script for this myself. It is, after all, a mere case of pulling the information from one place and, if a boolean value, running a one-liner to change the theme. I just don’t know how to discover dbus commands myself.