blob: 06bd67fe54f074768b2f80f58f974681bffc32e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
text/plain; vim '%s'
text/html; firefox '%s'; test=test -n "$DISPLAY"; needsterminal;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
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;
application/image/png; feh '%s';
image/png; feh '%s';
image/jpg; feh '%s';
image/jpeg; feh '%s';
image/gif; feh '%s';
|