aboutsummaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2016-06-01 19:28:25 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2016-06-01 19:28:25 +0200
commit59d37ada838e8233a65c4527c79c8624a4cb0ee6 (patch)
tree40e06d10eef0f402e7876d3cd42127f20b335fbf /muttrc
parent7fd121ad1846158c2f420c7f77d9706ae3bb2679 (diff)
downloaddotfiles-59d37ada838e8233a65c4527c79c8624a4cb0ee6.tar.gz
dotfiles-59d37ada838e8233a65c4527c79c8624a4cb0ee6.zip
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
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc15
1 files changed, 14 insertions, 1 deletions
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 <var> <passwd>
+#
+# 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 <pipe-entry>'eval $BROWSER $(urlscan -n | rofi -dmenu)'<enter> 'Follow links with urlview'
+# open links with urlscan
+macro pager,index \cb <pipe-entry>'eval $BROWSER $(urlscan -n | dmenu)'<enter> 'Follow links with urlview'
############## Bindings ####################