commit d387029af9a80c922db04bbcdf544bf4f3a0d084 parent 53fb670d6b9a8cd46d239b375f26d3b4981c986e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 3 Feb 2020 15:19:12 +0100 Refer to $BROWSER in mailcap instead of hardcoding browser choice Diffstat:
M | .mailcap | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.mailcap b/.mailcap @@ -1,6 +1,5 @@ # HTML -#text/html; cp %s ~/.mutt/tmp.html && xdg-open ~/.mutt/tmp.html && sleep 3 && rm ~/.mutt/tmp.html; test=test -n "$DISPLAY" -text/html; cp %s ~/tmp/tmp.html && surf-open.sh ~/tmp/tmp.html && sleep 3 && rm ~/tmp/tmp.html; test=test -n "$DISPLAY" +text/html; cp %s ~/tmp/tmp.html && $BROWSER ~/tmp/tmp.html && sleep 3 && rm ~/tmp/tmp.html; test=test -n "$DISPLAY" text/html; w3m -I %{charset} -o display_link_number=1 -T text/html; copiousoutput; needsterminal text/plain; cat %s; copiousoutput