commit e33aeb92a6cc90967f76e13c88397437b9734f17
parent 791870b0a8ff78e2a477161351a82a15193b9fe7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 12 Apr 2019 15:59:19 +0200
Open after downloading with shdl
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/linkhandler b/bin/linkhandler
@@ -21,7 +21,7 @@ for url in "$@"; do
elif [ "$action" = "Download" ]; then
setsid tsp curl -LO "$url" >/dev/null 2>&1 &
elif [ "$action" = "Sci-Hub" ]; then
- setsid tsp shdl --tor-socks --notify "$url" >/dev/null 2>&1 &
+ setsid tsp shdl --tor-socks --notify --open --reference "$url" >/dev/null 2>&1 &
elif [ "$action" = "Add reference" ]; then
getdoi "$url" | getref --notify >> "$BIB" &
elif [ "$action" = "Play" ]; then