On rofi -show without argument, run de first one from the modi list.

This commit is contained in:
Dave Davenport 2016-07-13 08:55:40 +02:00
parent b47e9c3846
commit b31cf1d32f
1 changed files with 3 additions and 0 deletions

View File

@ -573,6 +573,9 @@ static gboolean startup ( G_GNUC_UNUSED gpointer data )
return G_SOURCE_REMOVE;
}
}
else if ( find_arg ( "-show" ) >= 0 && num_modi > 0 ) {
run_switcher ( 0 );
}
else{
// Daemon mode
fprintf ( stderr, "Rofi daemon mode is now removed.\n" );