commit f109286f27c734e21cd3a596f9d8d33ee024eba6
parent 05f10372469fafdbb8c66f4446146688ce093068
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 30 Sep 2019 17:15:26 +0200
Add trailing wildcard for pdf
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.local/bin/xdg-open b/.local/bin/xdg-open
@@ -46,7 +46,7 @@ handle_target() {
application/*html*)
$BROWSER "$1" >/dev/null 2>&1 &
return 0;;
- application/pdf)
+ application/pdf*)
zathura "$1" >/dev/null 2>&1 &
return 0;;
application/*)
@@ -96,4 +96,3 @@ else
handle_target "$f"
done
fi
-