From 77a4d97262c3a1837d4b3752c2f222d7ea097703 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 21 Jun 2017 08:19:47 +0200 Subject: Add -dump-config option. --- source/theme.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/theme.c') diff --git a/source/theme.c b/source/theme.c index b929a9ea..c09f9c52 100644 --- a/source/theme.c +++ b/source/theme.c @@ -290,6 +290,14 @@ void rofi_theme_print ( ThemeWidget *widget ) } } +void rofi_dump_config ( ThemeWidget *widget ) +{ + config_parse_dump_config ( ); + if ( widget != NULL ) { + rofi_theme_print_index ( widget ); + } +} + /** * Main lex parser. */ -- cgit v1.2.3