1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

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

View file

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