reflect ideas from vdirsyncer in notmuch
This commit is contained in:
parent
810e1ae548
commit
4ec14229e3
1 changed files with 4 additions and 3 deletions
|
@ -6,6 +6,7 @@ ip route ls | grep -v '' && exit 1
|
|||
# check if the gpg-agent is running
|
||||
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
|
||||
true
|
||||
done
|
||||
notmuch --config="$HOME/.notmuch-config" new --quiet 2>&1 \
|
||||
| grep -v "Ignoring" \
|
||||
| xargs -0 --no-run-if-empty notify-send \
|
||||
&& exec sleep 3m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue