This commit is contained in:
Luke Smith 2019-04-21 20:42:39 -04:00
parent 46f91c5f71
commit 148cc7e832
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,5 @@
#!/bin/sh
muttdir="$HOME/.config/mutt" # Main mutt config location
bindir="$HOME/.config/mutt/bin" # Location of scripts run by mutt or the wizard
[ ! -f "$muttdir/domains.csv" ] || [ ! -d "$bindir" ] && printf "Read the README. Be sure to put the repo in the right place before running.\\n" && exit 1
[ ! -f "$HOME/.password-store/.gpg-id" ] && printf "\`pass\` must be installed and initialized to encrypt passwords.\\nBe sure it is installed and run \`pass init <yourgpgemail>\`.\\nIf you don't have a GPG public private key pair, run \`gpg --full-gen-key\` first.\\n" && exit
accdir="$muttdir/accounts" # Directory for account settings
maildir="$HOME/.local/share/mail" # Location of mail storage

View File

@ -1,7 +1,7 @@
text/plain; vim %s ;
text/html; ~/.config/mutt/bin/openfile %s ;
text/html; openfile %s ;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
image/*; ~/.config/mutt/bin/muttimage %s ; copiousoutput
image/*; muttimage %s ; copiousoutput
video/*; setsid mpv --quiet %s &; copiousoutput
application/pdf; ~/.config/mutt/bin/openfile %s ;
application/pdf; openfile %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;