commit e600f7a002ba6133641e7e6569276c137d93e974
parent 735464e4f66e3bec335c76a1d4781ef8f9184439
Author: Hayden Hamilton <haydenh@sdf.org>
Date: Sat, 29 Aug 2020 22:53:40 +0100
stuffs
Diffstat:
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc
@@ -1,7 +1,9 @@
+#source users/hayden@haydenvh.com
+#source users/irc@hlirc.net
+source users/backtrack@airmail.cc
+
set ssl_starttls = yes
set ssl_force_tls = yes
-source user
-source pass
set mailcap_path = "~/.config/neomutt/mailcap"
set smtp_authenticators = "plain"
@@ -26,3 +28,8 @@ set sort=threads
set signature=`rand-sig`
# source ~/.config/neomutt/gpg.rc
+
+# mark all mail as read
+macro index A \
+ "<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \
+ "mark all new as read"
diff --git a/.scripts/bin/dmenu/addrbook b/.scripts/bin/dmenu/addrbook
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addrs=${ADDRESSBOOK:-~/general/mail/addr}
+
+tr '\t' ',' < $addrs | dmenu -i -p "To?" | awk -F',' '{print $2}' | xclip