.mailcap 661 Bytes
Newer Older
Hund's avatar
Hund committed
1 2
#text/html; qutebrowser %s &; test=test -n "$DISPLAY"; needsterminal;
text/html; mv %s %s.html && qutebrowser %s.html >/dev/null 2>/dev/null; needsterminal;
3
text/html; w3m -I %{charset} -T text/html; copiousoutput;
Hund's avatar
Hund committed
4 5 6 7 8
image/jpeg; /usr/bin/feh -. '%s'; description=JPEG Image; test=test -n "$DISPLAY"; nametemplate=%s.jpg
image/png; /usr/bin/feh -. '%s'; description=PNG Image; test=test -n "$DISPLAY"; nametemplate=%s.png
image/gif; /usr/bin/feh -. '%s'; description=GIF Image; test=test -n "$DISPLAY"; nametemplate=%s.gif
application/pdf; zathura %s; test=test -n "$DISPLAY"; needsterminal;
video/x-youtube; youtube-dl -q -o - '%s' | mpv; test=test -n "$DISPLAY"