AutoYADM commit: 2025-03-15 17:45:06

This commit is contained in:
Daniel Fichtinger 2025-03-15 17:45:06 -04:00
parent 64ae7b13eb
commit 9c591af6ec
5 changed files with 14 additions and 11 deletions

View file

@ -819,29 +819,32 @@ mail-received=notify-send "[$AERC_ACCOUNT/$AERC_FOLDER] New mail from $AERC_FROM
# #
# Executed when mail is deleted from a folder # Executed when mail is deleted from a folder
# mail-deleted=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" & # mail-deleted=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" &
mail-deleted=/home/fic/.config/mail/mail-sync.sh & mail-deleted=/home/fic/.config/mail/async-mail.sh
# #
# Executed when aerc adds mail to a folder # Executed when aerc adds mail to a folder
#mail-added=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" & #mail-added=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" &
mail-added=/home/fic/.config/mail/mail-sync.sh & mail-added=/home/fic/.config/mail/async-mail.sh
# #
# Executed when aerc starts # Executed when aerc starts
#aerc-startup=aerc :terminal calcurse && aerc :next-tab #aerc-startup=aerc :terminal calcurse && aerc :next-tab
aerc-startup=/home/fic/.config/mail/mail-sync.sh & aerc-startup=/home/fic/.config/mail/async-mail.sh
# #
# Executed when aerc shuts down. # Executed when aerc shuts down.
#aerc-shutdown= #aerc-shutdown=
# aerc-shutdown=/home/fic/.config/mail/mail-sync.sh & # aerc-shutdown=/home/fic/.config/mail/mail-sync.sh &
aerc-shutdown=/home/fic/.config/mail/async-mail.sh
# #
# Executed when notmuch tags are modified. # Executed when notmuch tags are modified.
tag-modified=/home/fic/.config/mail/mail-sync.sh & # tag-modified=nohup /home/fic/.config/mail/mail-sync.sh >/dev/null 2>&1 &
tag-modified=/home/fic/.config/mail/async-mail.sh
# #
# Executed when flags are changed on a message. # Executed when flags are changed on a message.
flag-changed=/home/fic/.config/mail/mail-sync.sh & # flag-changed=nohup /home/fic/.config/mail/mail-sync.sh >/dev/null 2>&1 &
flag-changed=/home/fic/.config/mail/async-mail.sh
[templates] [templates]
# Templates are used to populate email bodies automatically. # Templates are used to populate email bodies automatically.

View file

@ -41,8 +41,10 @@ g = :select 0<Enter>
G = :select -1<Enter> G = :select -1<Enter>
N = :next-folder<Enter> N = :next-folder<Enter>
<C-n> = :next-folder<Enter>
<C-Down> = :next-folder<Enter> <C-Down> = :next-folder<Enter>
E = :prev-folder<Enter> E = :prev-folder<Enter>
<C-e> = :prev-folder<Enter>
<C-Up> = :prev-folder<Enter> <C-Up> = :prev-folder<Enter>
# <C-m> = :collapse-folder<Enter> # <C-m> = :collapse-folder<Enter>
<C-Left> = :collapse-folder<Enter> <C-Left> = :collapse-folder<Enter>

View file

@ -1,5 +1,5 @@
InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:personal and not tag:sent and not tag:git and not tag:srht InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:personal and not tag:sent and not tag:git and not tag:srht
SentNM=tag:sent and tag:personal SentNM=tag:sent and tag:personal
to-me=tag:to-me to-me=tag:to-me and tag:personal
sr.ht=tag:inbox and tag:srht sr.ht=tag:inbox and tag:srht and tag:personal
git=tag:inbox and tag:git git=tag:inbox and tag:git and tag:personal

View file

@ -1,5 +1,5 @@
InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:school and not tag:sent and not tag:git and not tag:srht InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:school and not tag:sent and not tag:git and not tag:srht
SentNM=tag:sent and tag:school SentNM=tag:sent and tag:school
to-me=tag:to-me to-me=tag:to-me and tag:school
# sr.ht=tag:inbox and tag:srht # sr.ht=tag:inbox and tag:srht
# git=tag:inbox and tag:git # git=tag:inbox and tag:git

View file

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