diff options
author | Aki <please@ignore.pl> | 2021-07-24 23:10:47 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-07-24 23:10:47 +0200 |
commit | 9dca05999d355deb225938ba4f57858ca27ca130 (patch) | |
tree | be930230eec6f600a53847b20410935d0644ee59 /opener | |
parent | 4910f79dd2553af5ed83a2c46f5e42f99424ac59 (diff) | |
download | browse-master.zip browse-master.tar.gz browse-master.tar.bz2 |
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 |