Compare commits
2 Commits
81f003243b
...
a1386ad08c
Author | SHA1 | Date |
---|---|---|
David JULIEN | a1386ad08c | |
David JULIEN | 116987ba42 |
|
@ -1,7 +1,6 @@
|
|||
# vim: filetype=neomuttrc
|
||||
source /home/swytch/.config/mutt/neomutt.muttrc
|
||||
source /home/swytch/.config/mutt/accounts/1-david.julien@posteo.net.muttrc
|
||||
macro index,pager i1 '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/1-david.julien@posteo.net.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@posteo.net"
|
||||
source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc
|
||||
macro index,pager i2 '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@ens-lyon.fr"
|
||||
macro index,pager i3 '<sync-mailbox><enter-command>source /home/swytch/.config/mutt/accounts/3-david.julien@mailo.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to david.julien@mailto.com"
|
||||
source /home/swytch/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc
|
||||
|
|
|
@ -16,7 +16,8 @@ do
|
|||
new="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/$acc/[Ii][Nn][Bb][Oo][Xx]/new/* -type f | wc -l 2>/dev/null)"
|
||||
if [ $new -gt 0 ]; then
|
||||
[ -n "$(echo "$acc" | sed -n '/@etu/p')" ] && box=""
|
||||
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
|
||||
[ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box=""
|
||||
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
|
||||
unread="$unread/$box$new"
|
||||
fi
|
||||
done
|
||||
|
|
Reference in New Issue