summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-21 09:48:03 +0200
committerDave Davenport <qball@gmpclient.org>2017-04-21 09:48:03 +0200
commit04e764c8e615b03e3fe3703f79e2662539ab5349 (patch)
tree4a10e0ddf88d6286b329eb6cce53161fb2a21322 /source/xrmoptions.c
parent01159b29f009977da975ff8c2d648ec0d2881e40 (diff)
[Plugins] Add -no-plugins and -plugin-path options
* -no-plugins disables the loading of plugins. * -plugin-path specifies the directory used by rofi to look for plugins.
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 19b93922..b19960d4 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -180,6 +180,8 @@ static XrmOption xrmOptions[] = {
"Color scheme for active row", CONFIG_DEFAULT },
{ xrm_String, "color-window", { .str = &config.color_window }, NULL,
"Color scheme window", CONFIG_DEFAULT },
+ { xrm_String, "plugin-path", { .str = &config.plugin_path }, NULL,
+ "Directory containing plugins", CONFIG_DEFAULT },
};
/** Dynamic array of extra options */