summaryrefslogtreecommitdiff
path: root/.prefix/bin/x-pdf
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 22:49:21 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 22:49:21 -0400
commita96ee608ce4be813ce381a6a0c195591f633986e (patch)
tree5ec43d77ea079df984ca612d36c35e3429ee8e83 /.prefix/bin/x-pdf
parentf34be2177db4152ef8857a2362afa35c029fa314 (diff)
parentc486006f4d03065bc8639f574bc07d5c7dc15345 (diff)
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfilescreated-generic
Conflicts: .alsa.full .crontab .crontab.local .wmii/wmiirc.local .xmodmap
Diffstat (limited to '.prefix/bin/x-pdf')
-rwxr-xr-x.prefix/bin/x-pdf9
1 files changed, 9 insertions, 0 deletions
diff --git a/.prefix/bin/x-pdf b/.prefix/bin/x-pdf
new file mode 100755
index 0000000..a9893c0
--- /dev/null
+++ b/.prefix/bin/x-pdf
@@ -0,0 +1,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