From be4bd80c086bff816c2a6c910e3be34f9164ddab Mon Sep 17 00:00:00 2001 From: lhark Date: Tue, 19 Nov 2019 13:22:31 +0000 Subject: [PATCH] Add mailcap --- install.sh | 2 +- mailcap | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 mailcap diff --git a/install.sh b/install.sh index 189abd5..dd603bf 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config} XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share} # List of the config files to install -FILES="vimrc zshrc gitconfig vim gitignore_global git_user ctags.d" +FILES="vimrc zshrc gitconfig vim gitignore_global git_user ctags.d mailcap" CONF_DIR="config" DATA_DIR="data" diff --git a/mailcap b/mailcap new file mode 100644 index 0000000..0646c52 --- /dev/null +++ b/mailcap @@ -0,0 +1,5 @@ +text/html; unshare -n -r w3m -I %{charset} -T text/html; copiousoutput; +image/*; /usr/local/bin/mutt_bgrun /usr/bin/feh -. %s; test=test -n "$DISPLAY" +#application/pdf; /usr/local/bin/mutt_bgrun /usr/bin/evince %s; test=test -n "$DISPLAY" +application/pdf; /usr/bin/evince %s; test=test -n "$DISPLAY" +