Mercurial > minori
view src/sys/x11/dark_theme.cc @ 413:192da585a0a8 default tip
*: fix formatting
the clang-format file was broken andjust using LLVM defaults.
now it's fixed and is more in line with what I actually prefer my
code to look like -- esp. with regards to tabulators
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 25 Jul 2026 14:54:32 -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
