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 | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'Browser/vimb/config') diff --git a/Browser/vimb/config b/Browser/vimb/config index 04f5185..4955cb1 100644 --- a/Browser/vimb/config +++ b/Browser/vimb/config @@ -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 @@ -32,11 +35,11 @@ nmap ) nmap S :set scripts=false r :shellcmd mpv --no-terminal "%s" :set scripts=true -set status-color-bg=#150620 -set status-color-fg=#e06131 -set status-ssl-color-bg=#150620 -set status-ssl-color-fg=#e06131 -set completion-bg-active=#150620 -set completion-bg-normal=#150620 -set completion-fg-active=#a03714 -set completion-fg-normal=#e06131 +set status-color-bg=#201405 +set status-color-fg=#b3d184 +set status-ssl-color-bg=#201405 +set status-ssl-color-fg=#b3d184 +set completion-bg-active=#201405 +set completion-bg-normal=#201405 +set completion-fg-active=#6faf63 +set completion-fg-normal=#b3d184 -- cgit v1.2.3-54-g00ecf