From 4e68e6cb1bea76d152fac3df4ab58d8fbf98e367 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Mon, 6 Jun 2016 17:48:25 +0100 Subject: use aria2c to downloa, mupdf to open and status --- Browser/vimb/config.static | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Browser/vimb/config.static') diff --git a/Browser/vimb/config.static b/Browser/vimb/config.static index e5ce804..d670e39 100644 --- a/Browser/vimb/config.static +++ b/Browser/vimb/config.static @@ -5,17 +5,20 @@ set scripts=false set spacial-navigation=true shortcut-add wiki=https://en.wikipedia.org/w/index.php?search=$0 -shortcut-add gl=https://encrypted.google.com/#q=$0 +shortcut-add gl=https://encrypted.google.com/search?hl=en&source=hp&biw=&bih=&q=$0&btnG=Google+Search&gbv=1 shortcut-add dl=https://duckduckgo.com/lite/?q=$0 shortcut-add map=https://maps.google.com/maps?saddr=$0&daddr=$1 shortcut-add gh=https://github.com/$0/$1 shortcut-add arrp=https://www.archlinux.org/packages/?q=$0 shortcut-add arwk=https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=$0&go=Go shortcut-add aur=https://aur.archlinux.org/packages/?K=$0 -shortcut-default dl +shortcut-default gl set download-path=~/Downloads +set download-use-external=true +set download-command=/usr/bin/bash -c 'ratpoison -c "echo Starting download" && cd / && aria2c "%s" --referer="$VIMB_URI" --out="$VIMB_FILE" --user-agent="$VIMB_USER_AGENT" --load-cookies="$VIMB_COOKIES" && if [ ${VIMB_FILE: -4} == ".pdf" ]; then mupdf "$VIMB_FILE";else ratpoison -c "echo Complete `basename $VIMB_FILE`";fi' + set cookie-accept=always set cookie-expire-time=0 set cookie-timeout=0 -- cgit v1.2.3-54-g00ecf