mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
CMake: adds MODULE_<module> options to disable modules
This commit is contained in:
@@ -29,6 +29,7 @@ static void initState(FFstate* state) {
|
||||
ffPlatformInit(&state->platform);
|
||||
state->dynamicInterval = 0;
|
||||
|
||||
#if FF_MODULE_TERMINALTHEME
|
||||
{
|
||||
// don't enable bright color if the terminal is in light mode
|
||||
FFTerminalThemeResult result;
|
||||
@@ -36,6 +37,7 @@ static void initState(FFstate* state) {
|
||||
state->terminalLightTheme = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void defaultConfig(void) {
|
||||
|
||||
Reference in New Issue
Block a user