diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-08-06 00:08:04 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-08-06 00:08:04 +0200 |
commit | 34e4a9c670e4c53c8448c74fe6248fc1fc64bf46 (patch) | |
tree | efac067b7fb32224acff35bfcbff8567c89e5b0d /clerk | |
parent | d7d6a88168a4b9d91cda99e2931ceffc74ec3c26 (diff) | |
download | perl-app-clerk-34e4a9c670e4c53c8448c74fe6248fc1fc64bf46.tar.gz perl-app-clerk-34e4a9c670e4c53c8448c74fe6248fc1fc64bf46.tar.xz |
exit clerk when using rofi interface
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -262,10 +262,17 @@ sub list_db_entries_for { ); my $output = $formater{$kind}->($rdb); + if ($backend eq "rofi") { + my $out = backend_call($output, $fields{$kind}); + do_action($out, "tracks"); + } + elsif ($backend eq "fzf") { for (;;) { my $out = backend_call($output, $fields{$kind}); do_action($out, "tracks"); + } } + } main; |