From 45cddce3665361bf83de8e24b6ce3fb592bedf74 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sun, 21 Jul 2019 18:32:06 +0200 Subject: sm: Display new mails with mblaze, only run mu when available --- dot.local-bin-sm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dot.local-bin-sm') diff --git a/dot.local-bin-sm b/dot.local-bin-sm index f3f9ddb..cdea8e4 100755 --- a/dot.local-bin-sm +++ b/dot.local-bin-sm @@ -6,5 +6,7 @@ notmuch new new=$(notmuch search --output=messages tag:new | xargs) [ -z "$new" ] && exit afew -tnvv -notmuch search --exclude=false $new -mu index +export MAILSEQ="${MBLAZE:-$HOME/.mblaze}/seq.sm" +export MBLAZE_PAGER="" +msearch -- --exclude=false $new | mthread | mseq -S | mscan -f '%u%r %3n %10d %17f %8F %t %i%S' +type mu 2> /dev/null && mu index || true -- cgit v1.2.3