configuration/services/notmuch/notmuch
Felix Van der Jeugt 6c2f26cd5e
Faster mail
2020-05-13 10:59:53 +02:00

12 lines
178 B
Bash
Executable File

#!/bin/sh -e
# check for internet connection
ip route ls | grep -q '.'
# check if the gpg-agent is running
pgrep gpg-agent > /dev/null
notmuch new --quiet 2>&1
exec sleep 1m