#!/bin/sh

#Lanzador.  Elige como quieres descargarlo (firefox, opera, wget, otro lanzador a otro navegador)
#Si quieres abrirlo: vlc, mplayer, kaffeine...
NAVEGADOR=firefox

cd ~
python ${HOME}/VeohProxy-1.51/default.py &
URL=$(xsel -a | cut -d\/ -f5 | cut -d\? -f1)

if [ $NAVEGADOR = "wget" ]; then
	xterm -e wget http://127.0.0.1:64653/$URL
else
	$NAVEGADOR http://127.0.0.1:64653/$URL
fi




	


