summaryrefslogtreecommitdiff
path: root/opener
diff options
context:
space:
mode:
Diffstat (limited to 'opener')
-rwxr-xr-xopener4
1 files changed, 2 insertions, 2 deletions
diff --git a/opener b/opener
index 320ff7f..2903949 100755
--- a/opener
+++ b/opener
@@ -10,7 +10,7 @@ shift `expr $OPTIND - 1`
case "$1" in
application/pdf) VIEWER=zathura;;
image/*) VIEWER=sxiv;;
- text/html*) VIEWER=./viewhtml;;
+ text/html*) VIEWER=viewhtml;;
text/*) VIEWER=less;;
*) echo "\e[31m$1\e[0m $2 $3" >&2; exit 1;;
esac
@@ -20,7 +20,7 @@ if [ $VIEWER = $ORIGIN_VIEW ]; then
else
case $VIEWER in
zathura | sxiv | less) setsid $VIEWER $3;;
- \./viewhtml) setsid $VIEWER $3 $2;;
+ viewhtml) setsid $VIEWER $3 $2;;
*) echo "\e[31m$VIEWER\e[0m $@" >$2; exit 1;;
esac
fi