diff --git a/src/common/detectPlasma.c b/src/common/detectPlasma.c index 3085fb2dd..d51753927 100644 --- a/src/common/detectPlasma.c +++ b/src/common/detectPlasma.c @@ -50,6 +50,10 @@ static bool detectFromConfigFile(const FFstrbuf* filename, FFPlasmaResult* resul if(result->colorScheme.length == 0) ffGetPropValue(line, "ColorScheme =", &result->colorScheme); + if(result->font.length == 0) + ffGetPropValue(line, "font =", &result->font); + + //Before plasma 5.23, "Font" was the key instead of "font". Since a lot of distros ship older versions, we test for both. if(result->font.length == 0) ffGetPropValue(line, "Font =", &result->font); }