no notifications for gpg-agent
This commit is contained in:
parent
17ee7020cc
commit
8a22709034
@ -4,11 +4,7 @@
|
|||||||
ip route ls | grep -v '' && exit 1
|
ip route ls | grep -v '' && exit 1
|
||||||
|
|
||||||
# check if the gpg-agent is running
|
# check if the gpg-agent is running
|
||||||
if ! pgrep gpg-agent >/dev/null; then
|
pgrep gpg-agent >/dev/null || exit 2
|
||||||
notify-send "no gpg-agent"
|
|
||||||
sleep 10
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
while notmuch --config="$HOME/.notmuch-config" new --quiet 2>&1 | grep -v "Ignoring" | xargs -0 --no-run-if-empty notify-send && sleep 3m; do
|
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
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user