diff --git a/etc/mailcap b/etc/mailcap index 45b54f3..18dd471 100644 --- a/etc/mailcap +++ b/etc/mailcap @@ -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 diff --git a/view_attachment.sh b/etc/view_attachment.sh similarity index 100% rename from view_attachment.sh rename to etc/view_attachment.sh diff --git a/mutt-wizard.sh b/mutt-wizard.sh index f8c8482..ed487c9 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -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