summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-09-10 20:06:01 +0200
committerDave Davenport <qball@gmpclient.org>2017-09-10 20:09:15 +0200
commit19cc794018f745be532bd9e98fc2c15b537c9e88 (patch)
tree1b4ac75de09fc3b80f61dd8fb336939cf55c5cf3
parenta442dda19ce7fec8763f29e3424b5e32c3d112cc (diff)
Allow combi modi to use scripts from the modi list.
fixes: #668
-rw-r--r--source/rofi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rofi.c b/source/rofi.c
index f1a6c600..c13df1fe 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -579,6 +579,8 @@ static int add_mode ( const char * token )
// If not build in, use custom modi.
Mode *sw = script_switcher_parse_setup ( token );
if ( sw != NULL ) {
+ // Add to available list, so combi can find it.
+ rofi_collect_modi_add(sw);
modi[num_modi] = sw;
num_modi++;
}