Subject: bug#57639: [PATCH] Add new command 'toggle-theme'

From: Po Lu <[email-masked]>
Date: Tue, 13 Sep 2022 10:25:45 +0800

Philip Kaludercic <[email-masked]> writes:

> For now it is just detecting that a switch should be made.

Right... that's easier than trying to determine if a theme is dark or
light, but is still currently a mess on the X desktop.

> Would this have to be re-implemented for most desktop environments, or
> do most of them use DBus to signal these changes?

Recent releases of KDE and GNOME do.  I know nothing about the others,
but they probably do not provide a way to toggle between "dark" and
"light" themes in the first place.