Automatic color theme based on system theme

I know it is possible to change the color theme in the schematic by going into the preferences. This involves exactly 6 clicks. I would like to reduce this to 0 clicks by making KiCad to use a light or dark theme automatically depending on the system theme. Is this possible?

I am using

Application: KiCad Schematic Editor x86_64 on x86_64

Version: 8.0.8, release build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 9.0.0
	FontConfig 2.15.0
	libcurl/8.11.1 OpenSSL/3.3.2 zlib/1.3.1 libidn2/2.3.7 libpsl/0.21.5 nghttp2/1.64.0

Platform: Freedesktop SDK 24.08 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, gnome, wayland
OpenGL: Intel, Mesa Intel(R) UHD Graphics (TGL GT1), 4.6 (Compatibility Profile) Mesa 24.3.1 (git-c815d651b8)

Build Info:
	Date: Jan 17 2025 05:59:19
	wxWidgets: 3.2.6 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.87.0
	OCC: 7.8.1
	Curl: 8.11.1
	ngspice: 44.2
	Compiler: GCC 14.2.0 with C++ ABI 1019

Build settings:

in Fedora 41 with Gnome 3.

Just in case, I am talking about automating this setting:

I don’t think a system theme has enough preferences to handle all those object types. Maybe the best that can be done is associate two KiCad themes with the normal and dark themes of the system so that it switches according to the system theme. No :eye: :deer: if this is possible.

This is how I read the question; and no idea if possible either.

Other applications listen to dbus and trigger on theme change. Here an example: ghostty/src/apprt/gtk/App.zig at main · ghostty-org/ghostty · GitHub

This is exactly what I would like to be automated. Just a simple switch between two themes.