From 27d08f99680729c085b879df907566d6e50b5fdb Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 23 Jul 2018 20:35:46 -0400 Subject: [PATCH] notmuch only now runs once --- etc/mailsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/mailsync.sh b/etc/mailsync.sh index d818cfb..b673ecf 100755 --- a/etc/mailsync.sh +++ b/etc/mailsync.sh @@ -37,9 +37,9 @@ do then notify "$account" "$newcount" & disown mpv --really-quiet ~/.config/mutt/etc/notify.opus - notmuch new fi done +notmuch new #Create a touch file that indicates the time of the last run of mailsync touch ~/.config/mutt/etc/mailsynclastrun