summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-01-15 08:40:41 -0500
committerJesse Luehrs <doy@tozt.net>2017-01-21 06:37:31 -0500
commit12829c16525fd8b769ad16a1cffae0477f207272 (patch)
treee598c9174b19b1ee8c83dcb00a27958322091327
parent791400260cbad075f7ec5e6d8cc039d3abdef922 (diff)
downloadconf-12829c16525fd8b769ad16a1cffae0477f207272.tar.gz
conf-12829c16525fd8b769ad16a1cffae0477f207272.zip
remove outdated script
-rwxr-xr-xbin/watch_mail19
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");
-}