mailcap fix, clarification for logins

This commit is contained in:
Luke Smith 2018-03-22 08:23:46 -07:00
parent 0be646ca96
commit 346e838672
3 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#text/html; qutebrowser %s &; test=test -n "$DISPLAY"; needsterminal; #text/html; qutebrowser %s &; test=test -n "$DISPLAY"; needsterminal;
text/html; w3m -I %{charset} -T text/html; copiousoutput; text/html; $BROWSER %s 2>/dev/null & disown; copiousoutput;
#text/html; mv %s %s.html && qutebrowser %s.html > /dev/null; needsterminal; #text/html; w3m -I %{charset} -T text/html; copiousoutput;
#
application/pdf; mv %s %s.pdf && i3 exec mupdf %s.pdf > /dev/null; needsterminal; application/pdf; mv %s %s.pdf && i3 exec mupdf %s.pdf > /dev/null; needsterminal;
image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput

View File

@ -148,7 +148,7 @@ EOF
fi 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>&- ) 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>&- ) 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. # Sets the repo type and other variables for the sed regex.
if [[ "$service" == "gmail.com" ]]; if [[ "$service" == "gmail.com" ]];
then then