summaryrefslogtreecommitdiff
path: root/opener
blob: bfb2bb5873dcd6086dcbd82ef2781102172678c5 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
case "$1" in
	application/pdf) exec zathura "$2";;
	image/*) exec sxiv "$2";;
	text/html) exec ./viewhtml "$2" "";;
	text/*) exec less "$2";;
	*) echo $1 $2;;
esac