mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
On rofi -show without argument, run de first one from the modi list.
This commit is contained in:
parent
b47e9c3846
commit
b31cf1d32f
1 changed files with 3 additions and 0 deletions
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue