Browse Source

mailcap fix, clarification for logins

tags/v3.1
Luke Smith 6 years ago
parent
commit
346e838672
3 changed files with 4 additions and 4 deletions
  1. +3
    -3
      etc/mailcap
  2. +0
    -0
      etc/view_attachment.sh
  3. +1
    -1
      mutt-wizard.sh

+ 3
- 3
etc/mailcap View File

@@ -1,8 +1,8 @@
#text/html; qutebrowser %s &; test=test -n "$DISPLAY"; needsterminal;

text/html; w3m -I %{charset} -T text/html; copiousoutput;
#text/html; mv %s %s.html && qutebrowser %s.html > /dev/null; needsterminal;
#
text/html; $BROWSER %s 2>/dev/null & disown; copiousoutput;
#text/html; w3m -I %{charset} -T text/html; copiousoutput;
application/pdf; mv %s %s.pdf && i3 exec mupdf %s.pdf > /dev/null; needsterminal;

image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput


view_attachment.sh → etc/view_attachment.sh View File


+ 1
- 1
mutt-wizard.sh View File

@@ -148,7 +148,7 @@ EOF
fi
realname=$( dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "Enter the full name you'd like to be identified by on this email account." 10 60 3>&1 1>&2 2>&3 3>&- )
title=$( dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "Give a short, one-word name for this email account that will differentiate it from other email accounts." 10 60 3>&1 1>&2 2>&3 3>&- )
login=$(dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "Enter your login for the \"$title\" account.\n(If left empty, the full email address will be used instead.)" 10 60 3>&1 1>&2 2>&3 3>&- )
login=$(dialog --title "Luke's mutt/offlineIMAP autoconfig" --inputbox "If you have a username for the \"$title\" account which is different from your email address, enter it here. Otherwise leave this prompt blank." 10 60 3>&1 1>&2 2>&3 3>&- )
# Sets the repo type and other variables for the sed regex.
if [[ "$service" == "gmail.com" ]];
then


Loading…
Cancel
Save