Browse Source

no bin

tags/v3.1
Luke Smith 5 years ago
parent
commit
148cc7e832
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
2 changed files with 3 additions and 5 deletions
  1. +0
    -2
      bin/mw
  2. +3
    -3
      mailcap

mw → bin/mw 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

bin/mailcap → mailcap 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;

Loading…
Cancel
Save