summaryrefslogtreecommitdiff
path: root/.local/bin/x-pdf
blob: a9893c0e7a236016e8d274e1d282a41d481670c7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if   [ -x "`which okular 2>/dev/null`" ]; then
	okular "$@"
elif   [ -x "`which evince 2>/dev/null`" ]; then
	evince "$@"
elif [ -x "`which xpdf 2>/dev/null`" ]; then
	xpdf "$@"
fi