From 1d562af8927d932bc3329de3b06c94a966047238 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Jan 2023 17:33:06 -0600 Subject: Add a bunch of stuff Forgot I had to `git add -f' these! --- notmuch/default/hooks/pre-new | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 notmuch/default/hooks/pre-new (limited to 'notmuch/default/hooks/pre-new') diff --git a/notmuch/default/hooks/pre-new b/notmuch/default/hooks/pre-new new file mode 100755 index 0000000..443e3f2 --- /dev/null +++ b/notmuch/default/hooks/pre-new @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Notmuch pre-new hook + +# This hook is invoked by the new command before scanning or im‐ +# porting new messages into the database. If this hook exits with +# a non-zero status, notmuch will abort further processing of the +# new command. + +# Typically this hook is used for fetching or delivering new mail +# to be imported into the database. + +# TODO: In notmuch v0.35, the location of this hook becomes configurable. +# When I have that installed, I want to move this to ~/.config/notmuch. + +/home/case/usr/scripts/syncmail -- cgit 1.4.1-21-gabe81