diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-07-13 08:55:40 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-07-13 08:55:40 +0200 |
commit | b31cf1d32f50a86e4292a760428525b82dff8afa (patch) | |
tree | d4c74863ac319c776970f7a8a72d6261dae2d67f /source/rofi.c | |
parent | b47e9c3846e3813baa93fa63bd69bac9969ca69f (diff) |
On rofi -show without argument, run de first one from the modi list.
Diffstat (limited to 'source/rofi.c')
-rw-r--r-- | source/rofi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/rofi.c b/source/rofi.c index acc95107..74b2f5f6 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -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" ); |