summaryrefslogtreecommitdiffstats
path: root/include/xrmoptions.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-01-03 13:30:43 +0100
committerDave Davenport <qball@gmpclient.org>2016-01-03 13:30:43 +0100
commitbd3d472bec60babf29cc84d98a35dd7b3edd200a (patch)
tree562356b9702f48265e885d617c2940b766b3086e /include/xrmoptions.h
parent4fbbce891bba56171b5b6fc5d6442427bad56a75 (diff)
Add optional config file that overrides local Xresources
Rofi will look at XDG_CONFIG_USER_DIR/rofi/config and load this after the Xresources db on DISPLAY. This can be overridden using the -config commandline option. The file should be in the same format as the Xresources file.
Diffstat (limited to 'include/xrmoptions.h')
-rw-r--r--include/xrmoptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xrmoptions.h b/include/xrmoptions.h
index f1d9d3aa..ab621cae 100644
--- a/include/xrmoptions.h
+++ b/include/xrmoptions.h
@@ -19,6 +19,7 @@ typedef enum
* connected X server.
*/
void config_parse_xresource_options ( Display *display );
+void config_parse_xresource_options_file ( const char *filename );
/**
* Parse commandline options.
@@ -35,6 +36,7 @@ void config_parse_cmd_options_dynamic ( void );
* connected X server.
*/
void config_parse_xresource_options_dynamic ( Display *display );
+void config_parse_xresource_options_dynamic_file ( const char *filename );
/**
* Free any allocated memory.