From a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 11 May 2013 13:03:54 +0200 Subject: lots of new stuff and misc changes Signed-off-by: Florian Pritz --- firefox-youtube-handler | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 firefox-youtube-handler (limited to 'firefox-youtube-handler') diff --git a/firefox-youtube-handler b/firefox-youtube-handler new file mode 100755 index 0000000..b339612 --- /dev/null +++ b/firefox-youtube-handler @@ -0,0 +1,9 @@ +#!/bin/bash +proto='yt://' +url=$1 +id=${url##$proto} +#smplayer $(youtube-dl -g ${id}) + +#urxvt -e bash -c "youtube-viewer -I \"http://youtube.com/watch?v=$id\"; sleep 5" +smplayer "http://youtube.com/watch?v=$id" + -- cgit v1.2.3-24-g4f1b