summaryrefslogtreecommitdiffstats
path: root/source/rofi.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rofi.c')
-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++;
}