summaryrefslogtreecommitdiffstats
path: root/source/modes/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/modes/script.c')
-rw-r--r--source/modes/script.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/modes/script.c b/source/modes/script.c
index 182ea3f2..994e3b97 100644
--- a/source/modes/script.c
+++ b/source/modes/script.c
@@ -138,6 +138,11 @@ static void parse_header_entry(Mode *sw, char *line, ssize_t length) {
} else if (strcasecmp(line, "data") == 0) {
g_free(pd->data);
pd->data = g_strdup(value);
+ } else if (strcasecmp(line, "theme") == 0) {
+ if (rofi_theme_parse_string((const char *)value)) {
+ g_warning("Failed to parse: '%s'", value);
+ rofi_clear_error_messages();
+ }
}
}
}