blob: 23eadbaf21bf46bd3038fa3fb95c1dc0d4f038bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
text/html; surf '%s'; test=test -n "$DISPLAY"; copiousoutput;
# text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/plain; surf '%s'; test=test -n "$DISPLAY"; needsterminal;
application/json; jq . %s | less -N; copiousoutput;
application/pdf; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
application/octet-stream; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
application/zip; unzip -p '%s' | less -N
application/gzip; gunzip -c '%s' | less -N
image/png; feh '%s'
image/jpg; feh '%s'
image/jpeg; feh '%s'
image/gif; feh '%s'
|