updated maildir config

This commit is contained in:
Daniel Fichtinger 2025-03-15 00:54:21 -04:00
parent 951aeb9337
commit 0ca8c638f2
6 changed files with 36 additions and 0 deletions

5
.config/mail/abook.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/env bash
# notmuch address "*" | awk -v term="$1" 'tolower($0) ~ tolower(term)'
notmuch address "*" | fzf --filter "$1"
# notmuch address "*" | grep -i "$1"

1
.config/mail/aerc Symbolic link
View file

@ -0,0 +1 @@
/home/fic/.config/aerc

1
.config/mail/afew Symbolic link
View file

@ -0,0 +1 @@
/home/fic/.config/afew

17
.config/mail/mail-sync.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
MBSYNC=$(pgrep mbsync)
NOTMUCH=$(pgrep notmuch)
if [ -n "$MBSYNC" -o -n "$NOTMUCH" ]; then
echo "Already running one instance of mbsync or notmuch. Exiting..."
exit 0
fi
echo "Deleting messages tagged as *deleted*"
notmuch search --format=text0 --output=files tag:deleted | xargs -0 --no-run-if-empty rm -v
mbsync -Va
notmuch new
afew --tag --new
maildir-rank-addr

11
.config/mail/pkg.md Normal file
View file

@ -0,0 +1,11 @@
# Needed packages
- aerc
- isync
- cyrus-ssl-xoauth2
- notmuch
- hx (helix)
- w3m
- goimapnotify (via `go install`)
- maildir-rank-addr `go install github.com/ferdinandyb/maildir-rank-addr@latest`
- ugrep

View file

@ -0,0 +1 @@
/home/fic/.config/maildir-rank-addr/config