reflect ideas from vdirsyncer in notmuch
This commit is contained in:
parent
810e1ae548
commit
4ec14229e3
@ -6,6 +6,7 @@ ip route ls | grep -v '' && exit 1
|
|||||||
# check if the gpg-agent is running
|
# check if the gpg-agent is running
|
||||||
pgrep gpg-agent >/dev/null || exit 2
|
pgrep gpg-agent >/dev/null || exit 2
|
||||||
|
|
||||||
while notmuch --config="$HOME/.notmuch-config" new --quiet 2>&1 | grep -v "Ignoring" | xargs -0 --no-run-if-empty notify-send && sleep 3m; do
|
notmuch --config="$HOME/.notmuch-config" new --quiet 2>&1 \
|
||||||
true
|
| grep -v "Ignoring" \
|
||||||
done
|
| xargs -0 --no-run-if-empty notify-send \
|
||||||
|
&& exec sleep 3m
|
||||||
|
Loading…
Reference in New Issue
Block a user