From ea8c68bab4b84824189b3742cd43251739c7159d Mon Sep 17 00:00:00 2001 From: DarN Date: Sat, 26 Jun 2021 08:14:11 +0200 Subject: [PATCH] Sanitize custom Plasma theme name --- src/modules/wmtheme.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/wmtheme.c b/src/modules/wmtheme.c index 820a9db3a..2d6a1b7f3 100644 --- a/src/modules/wmtheme.c +++ b/src/modules/wmtheme.c @@ -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); }