diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-21 08:19:47 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-21 08:19:47 +0200 |
commit | 77a4d97262c3a1837d4b3752c2f222d7ea097703 (patch) | |
tree | 5310f88fd6155cd6ea5586663fdaa6532eed8183 /include | |
parent | 9af191de26611ce5025e3363dafd0cdbf8ab38b9 (diff) |
Add -dump-config option.
Diffstat (limited to 'include')
-rw-r--r-- | include/theme.h | 7 | ||||
-rw-r--r-- | include/xrmoptions.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/theme.h b/include/theme.h index c0182e64..28c8f225 100644 --- a/include/theme.h +++ b/include/theme.h @@ -240,6 +240,13 @@ ThemeWidget *rofi_theme_find_or_create_name ( ThemeWidget *base, const char *nam void rofi_theme_print ( ThemeWidget *widget ); /** + * @param widget The widget handle. + * + * Print out the theme and config to the commandline. + */ +void rofi_dump_config ( ThemeWidget *widget ); + +/** * @param type The type of the property to create. * * Create a theme property of type. diff --git a/include/xrmoptions.h b/include/xrmoptions.h index 791121a3..2a01d72c 100644 --- a/include/xrmoptions.h +++ b/include/xrmoptions.h @@ -165,5 +165,10 @@ char ** config_parser_return_display_help ( unsigned int *length ); * @returns true when failed to set property. */ gboolean config_parse_set_property ( const Property *p, char **error ); + +/** + * @brief Dump configuration in rasi format. + */ +void config_parse_dump_config ( void ); /* @}*/ #endif |