Allow combi modi to use scripts from the modi list.

fixes: #668
This commit is contained in:
Dave Davenport 2017-09-10 20:06:01 +02:00
parent a442dda19c
commit 19cc794018
1 changed files with 2 additions and 0 deletions

View File

@ -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++;
}