You are not logged in.
hello all,
i am using folder hooks in mutt and i have a program that counts my new mails and sends me a notification. i want to run this program every time i change folders.
any suggestions how i could do this? backtics didn't work for me (maybe i was doing it wrong) because they only ran when mutt started.
right now i have a macro bound to the command, but this is not ideal.
thanks in advance for all help.
Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub
Offline
I use lsyncd for watching folder changes.
But I don't have experience with Mutt.
Here some more info: lsyncd Manual.
I'd rather try touching the moon
than take on a whore's thinking.
Al Swearengen
Offline
Just tried a few things, this seems to work for me:
macro index <f3> <change-folder>/home/owain/Maildir<enter><shell-escape>notify-send\ foo<enter>
macro browser <f3> <change-folder>/home/owain/Maildir<enter><shell-escape>notify-send\ foo<enter>
Offline