Add support for system dark mode (Linux)

- Use `org.freedesktop.appearance color-scheme` to support system dark mode.
This commit is contained in:
Raul Santos 2022-08-30 17:04:17 +02:00
parent 6ccbc27093
commit 471c9c2969
No known key found for this signature in database
GPG key ID: B532473AE3A803E4
7 changed files with 233 additions and 3 deletions

View file

@ -40,7 +40,7 @@ def get_opts():
BoolVariable("use_tsan", "Use LLVM/GCC compiler thread sanitizer (TSAN)", False),
BoolVariable("use_msan", "Use LLVM compiler memory sanitizer (MSAN)", False),
BoolVariable("pulseaudio", "Detect and use PulseAudio", True),
BoolVariable("dbus", "Detect and use D-Bus to handle screensaver", True),
BoolVariable("dbus", "Detect and use D-Bus to handle screensaver and portal desktop settings", True),
BoolVariable("speechd", "Detect and use Speech Dispatcher for Text-to-Speech support", True),
BoolVariable("fontconfig", "Detect and use fontconfig for system fonts support", True),
BoolVariable("udev", "Use udev for gamepad connection callbacks", True),