diff options
Diffstat (limited to 'opener')
-rwxr-xr-x | opener | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |