Sanitize custom Plasma theme name

This commit is contained in:
DarN
2021-06-26 08:14:11 +02:00
parent d4d9bc90e6
commit ea8c68bab4
+3
View File
@@ -45,6 +45,9 @@ static void printWMThemeFromConfigFile(FFinstance* instance, const char* configF
return;
}
// Remove Plasma generated garbage
ffStrbufRemoveStrings(&theme, 1, "__aurorae__svg__");
printWMTheme(instance, theme.chars);
ffStrbufDestroy(&theme);
}