From 2cb89d7d88d76359b7d37780e02dc1750fff1fe4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 30 Aug 2011 07:33:55 +0200 Subject: [PATCH] run notmuch in hook --- .bin/offlineimap | 4 ---- .offlineimaprc | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.bin/offlineimap b/.bin/offlineimap index d440e24..82428cd 100755 --- a/.bin/offlineimap +++ b/.bin/offlineimap @@ -19,7 +19,3 @@ fi ret=0 /usr/bin/offlineimap "$@" || exit $? - -if [ -x "$(command -v notmuch)" ]; then - notmuch new || exit $? -fi diff --git a/.offlineimaprc b/.offlineimaprc index d8fcc2e..9f318fa 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -22,12 +22,14 @@ localrepository = local-main remoterepository = madduck.net autorefresh = 15 quick = 16 +postsynchook = ionice -c3 nice -20 notmuch new [Account madduck.net-bulk] localrepository = local-main remoterepository = madduck.net-bulk autorefresh = 15 quick = 16 +postsynchook = ionice -c3 nice -20 notmuch new [Repository local-main] type = Maildir -- 2.39.2