diff options
-rw-r--r-- | source/rofi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/rofi.c b/source/rofi.c index 9ef3acf4..daf8123c 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -790,10 +790,6 @@ int main ( int argc, char *argv[] ) TICK_N ( "Setup mainloop" ); bindings = nk_bindings_new (); - if ( !parse_keys_abe ( bindings ) ) { - cleanup (); - return EXIT_FAILURE; - } if ( !display_setup ( main_loop, bindings ) ) { g_warning ( "Connection has error" ); @@ -831,6 +827,11 @@ int main ( int argc, char *argv[] ) config_parse_cmd_options ( ); TICK_N ( "Load cmd config " ); + if ( !parse_keys_abe ( bindings ) ) { + cleanup (); + return EXIT_FAILURE; + } + if ( !dmenu_mode ) { // setup_modi if ( setup_modi () ) { |