summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclerk.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/clerk.pl b/clerk.pl
index 7053e2c..11d6f37 100755
--- a/clerk.pl
+++ b/clerk.pl
@@ -278,6 +278,12 @@ sub renew_db {
+{$_->%{qw/Album Artist Date AlbumArtist Title Track rating albumrating uri mtime/}}
} @db;
pack_msgpack(\@filtered);
+ if ($rvar{backend} eq "rofi") {
+ system('notify-send', '-t', '5000', 'clerk', 'DONE: Updating Cache File');
+ }
+ elsif ($rvar{backend} eq "fzf") {
+ print STDERR "::: Cache files updated\n";
+ }
}
sub maybe_renew_db {