Add ssh+tunnel worssh, geturl + urllist

This commit is contained in:
Howland Owl 2016-12-09 18:24:58 +02:00
parent 637226ea88
commit e49e00d0c5
3 changed files with 24 additions and 0 deletions

12
geturl.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
URL=`dmenu -fn 'mOsOul for Powerline-10' -nb navy -nf chartreuse -sb black -sf orange -p "Url>" -l 8 < ~/bin/urllist`
if [ $URL ]; then
if [ "$URL" = "clipboard" ]; then
URL=`xclip -o`
fi
export http_proxy=192.168.42.5:8118
tabbed -r2 surf -e -a@Aa -BDfg $URL
fi

9
urllist Normal file
View file

@ -0,0 +1,9 @@
https://startpage.com
https://duckduckgo.com
http://gitlabrador.amigadns.com
https://github.com
http://eurasia.nu
https://rockpapershotgun.com
https://my.safaribooksonline.com
http://192.168.42.2/mopidy
clipboard

3
worssh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/zsh
ssh -D 9944 -o "ProxyCommand /usr/bin/nc -X 5 -x 127.0.0.1:9000 %h %p" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "${@}"