diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-01-15 08:40:41 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-01-21 06:37:31 -0500 |
commit | 12829c16525fd8b769ad16a1cffae0477f207272 (patch) | |
tree | e598c9174b19b1ee8c83dcb00a27958322091327 | |
parent | 791400260cbad075f7ec5e6d8cc039d3abdef922 (diff) | |
download | conf-12829c16525fd8b769ad16a1cffae0477f207272.tar.gz conf-12829c16525fd8b769ad16a1cffae0477f207272.zip |
remove outdated script
-rwxr-xr-x | bin/watch_mail | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/bin/watch_mail b/bin/watch_mail deleted file mode 100755 index 44c4a51..0000000 --- a/bin/watch_mail +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env perl -use strict; -use warnings; -use 5.014; - -use Linux::Inotify2; - -my $inotify = Linux::Inotify2->new; -for my $dir (`find $ENV{HOME}/Maildir -name cur`) { - chomp $dir; - $inotify->watch($dir, IN_MODIFY|IN_MOVED_TO|IN_CREATE|IN_DELETE); -} - -$inotify->blocking(1); - -while (1) { - my @e = $inotify->read; - system("notmuch new > /dev/null 2>&1"); -} |