Mercurial > minori
view src/sys/x11/dark_theme.cc @ 377:1b0b8e746d83 default tip
CI/windows: stupid msys2
author | Paper <paper@tflc.us> |
---|---|
date | Fri, 25 Jul 2025 12:40:25 -0400 |
parents | 99c961c91809 |
children |
line wrap: on
line source
#include "sys/x11/dark_theme.h" #include "sys/x11/settings.h" #include "sys/glib/dark_theme.h" /* glib::IsGTKThemeDark */ namespace x11 { bool IsInDarkTheme() { SettingsItem setting; if (!FindSetting(u8"Net/ThemeName", setting)) return false; return glib::IsGTKThemeDark(setting.data.string); } } // namespace glib