Mercurial > minori
view src/sys/x11/dark_theme.cc @ 411:02a670a8e1c4
*: fix build fails
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 25 Jul 2026 14:22:44 -0400 |
| parents | df4a027623d0 |
| children |
line wrap: on
line source
#include "sys/x11/dark_theme.h" #include "sys/x11/settings.h" #include "core/strings.h" namespace x11 { bool IsInDarkTheme() { SettingsItem setting; if (!FindSetting(u8"Net/ThemeName", setting)) return false; return Strings::IsGTKThemeDark(setting.data.string); } } // namespace x11
