linkhandler default browser with fixes

This commit is contained in:
Luke Smith
2018-09-15 20:33:02 -04:00
parent 72614148b1
commit f17aacfada
2 changed files with 6 additions and 6 deletions

View File

@@ -20,5 +20,5 @@ case "$1" in
setsid tsp wget "$1" >/dev/null 2>&1 & ;;
*springer.com*)
setsid curl -sO "$(curl -s "$scihub$*" | grep -Po "(?<=location.href=').+.pdf")" >/dev/null 2>&1 & ;;
*) setsid "$BROWSER" "$1" >/dev/null 2>&1 & ;;
*) setsid "$TRUEBROWSER" "$1" >/dev/null 2>&1 & ;;
esac