[bin] Put bin files in .local/bin

This commit is contained in:
2026-02-10 12:12:11 -05:00
parent c50d88ce26
commit d1eb0f5b3d
45 changed files with 0 additions and 0 deletions

15
bin/.local/bin/checkmail Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
AFEW_SERVICE="afew"
MBSYNC_SERVICE="mbsync"
NOTMUCH_SERVICE="notmuch"
if [ $(pidof $AFEW_SERVICE) ] || [ $(pidof $MBSYNC_SERVICE) ] || [ $(pidof $NOTMUCH_SERVICE) ]; then
echo "Checkmail is already running."
else
echo "Checking for new mail"
afew -m -n
mbsync -a
notmuch new
afew -t -n
fi
exit 0