commit 4f119a84d83f71b8af053bc7801adb1c4dfabd50
parent 3b01d46bebcba89082a607383a5c8bf883e29ada
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 12 Jun 2019 11:26:24 +0200
Update dwm bar when syncing mailbox in mutt
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
@@ -150,7 +150,8 @@ bind attach,index,pager,browser \CD next-page
bind attach,index,pager,browser \CU previous-page
bind index,pager R group-reply
-bind index <tab> sync-mailbox
+#bind index <tab> sync-mailbox
+macro index <tab> "<enter-command>unset wait_key<enter><sync-mailbox><shell-escape>dwmstatus-refresh<enter><enter-command>set wait_key<enter>"
bind index B search-opposite
bind index \ o sort-mailbox