From 59d37ada838e8233a65c4527c79c8624a4cb0ee6 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 1 Jun 2016 19:28:25 +0200 Subject: include a password file for mutt and other misc changes config.fish: 1) include ~/.local/bin in the PATH variable 2) prepend new PATH components muttrc: 1) write comment about new password file 2) use variables exported by mutt.sh 3) use dmenu instead of rofi to select links from urlscan mutt.sh: 1) mutt wrapper script that decrypts and reads the password file 2) start mutt dependend on the calling context (Termial|XSession) password: new password file. The Layout is explained in muttrc setup.py: include mutt.sh in the mutt target --- muttrc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'muttrc') diff --git a/muttrc b/muttrc index 6a12019..1b99fba 100644 --- a/muttrc +++ b/muttrc @@ -33,6 +33,18 @@ set use_from = yes set smtp_url="smtps://$imap_user@smtp-auth.uni-erlangen.de" + +############### PASSWORDS ################## +# the passwords are stored in the file .mutt/passwords.gpg +# and this file is read and evaluated before mutt is started. +# the file format should be: +# export +# +# see: http://www.mail-archive.com/mutt-users@mutt.org/msg36375.html + +set smtp_pass=$FAU_PASS +set imap_pass=$FAU_PASS + ############### GPG ######################## source ~/.mutt/gpg.rc @@ -46,7 +58,8 @@ set crypt_verify_sig=yes set sort=threads set sort_aux=last-date-received -macro pager,index \cb 'eval $BROWSER $(urlscan -n | rofi -dmenu)' 'Follow links with urlview' +# open links with urlscan +macro pager,index \cb 'eval $BROWSER $(urlscan -n | dmenu)' 'Follow links with urlview' ############## Bindings #################### -- cgit v1.2.3