Hello all,

I'm using mutt 1.10.0 on L/Xubuntu 16.04 together with i3wm. I have a small 
script thats show me the number of unread
emails.

The gist of it is: find /home/martin/mail -path "*/new/*" | wc -l

In my muttrc I have:

macro index,pager <Tab> '<sync-mailbox><next-unread-mailbox>!pkill -RTMIN+4 
i3blocks<enter>'

So when I open a new email and hit tab it will refresh the unread counter in my 
tray bar right away. That works well.
Just if I don't hit Tab after reading or rather opening the last/only unread 
email, the counter will remain as 1. I
often forget to hit Tab there.

Any idea how to solve it better? I guess if I could configure mutt to mark a 
message as read right when I open it, it
would solve it. Yes, this is a very lazy first world problem. :(

Best regards,
Martin

Reply via email to