From 11076c620bfa526a23befd1649873871495f4162 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 12 Aug 2022 14:18:19 +0200 Subject: update --- .config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc | 2 +- .config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc | 2 +- .config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc | 2 +- .config/mutt/accounts/5-rbousset@secuserve.com.muttrc | 2 +- .config/mutt/accounts/6-exploitation@secuserve.com.muttrc | 2 +- .config/mutt/accounts/7-support@secuserve.com.muttrc | 2 +- .config/mutt/defaults.muttrc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to '.config') diff --git a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc index 1b7ce9a..4b2b3a7 100644 --- a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc +++ b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc bousset.rudy@gmail.com" "run mbsync to sync bousset.rudy@gmail.com" +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc bousset.rudy@gmail.com" "run mbsync to sync bousset.rudy@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail]/Sent Mail" "=[Gmail]/Drafts" "=[Gmail]/Spam" "=[Gmail]/Trash" diff --git a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc index 7542f24..e3f7a32 100644 --- a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc +++ b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc olsen.oyvind.nor@gmail.com" "run mbsync to sync olsen.oyvind.nor@gmail.com" +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc olsen.oyvind.nor@gmail.com" "run mbsync to sync olsen.oyvind.nor@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail]/Sent Mail" "=[Gmail]/Drafts" "=[Gmail]/Spam" "=[Gmail]/Trash" diff --git a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc index 01972ac..d39d043 100644 --- a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc +++ b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc towerofsilence777@gmail.com" "run mbsync to sync towerofsilence777@gmail.com" +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc towerofsilence777@gmail.com" "run mbsync to sync towerofsilence777@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail].Messages envoy&AOk-s" "=[Gmail].Brouillons" "=[Gmail].Spam" "=[Gmail].Corbeille" "=[Gmail].Important" "=[Gmail].Suivis" diff --git a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc index 6772013..f1df17f 100644 --- a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc +++ b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc rbousset@secuserve.com" "run mbsync to sync rbousset@secuserve.com" +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc rbousset@secuserve.com" "run mbsync to sync rbousset@secuserve.com" unmailboxes * mailboxes "=INBOX" "=Sent" "=Drafts" "=Trash" "=Calendrier" "=NEWS" diff --git a/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc b/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc index bc6becb..eca8b9b 100644 --- a/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc +++ b/.config/mutt/accounts/6-exploitation@secuserve.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc exploitation@secuserve.com" "run mbsync to sync exploitation@secuserve.com" +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc exploitation@secuserve.com" "run mbsync to sync exploitation@secuserve.com" unmailboxes * mailboxes "=INBOX" "=INBOX/- Secuserve" "=INBOX/Altospam" "=INBOX/BAT" "=INBOX/DEBUG" "=INBOX/Erreurs (boite recept)" \ diff --git a/.config/mutt/accounts/7-support@secuserve.com.muttrc b/.config/mutt/accounts/7-support@secuserve.com.muttrc index 8b99b9b..70bfe46 100644 --- a/.config/mutt/accounts/7-support@secuserve.com.muttrc +++ b/.config/mutt/accounts/7-support@secuserve.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc support@secuserve.com" "run mbsync to sync support@secuserve.com" +macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc support@secuserve.com" "run mbsync to sync support@secuserve.com" unmailboxes * mailboxes "=INBOX" "=INBOX/ALFRESCO" "=INBOX/FIN EVAL" "=INBOX/NAS" "=INBOX/Owentis notif" \ diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index 66a2730..15102d2 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -99,7 +99,7 @@ bind editor complete-query macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" -macro index O "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a" "run mbsync to sync all mail" +macro index O "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a" "run mbsync to sync all mail" macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"" "show only messages matching a notmuch pattern" macro index A "all\n" "show all messages (undo limit)" macro compose Y "\ -- cgit v1.2.3