diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-05-11 13:03:54 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-05-11 13:03:54 +0200 |
commit | a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab (patch) | |
tree | 3262e1dbda911fc32e156de213af574f326b4794 /firefox-youtube-handler | |
parent | 66f84afc20c5bb627ec5979bd9b3e8b144c3419d (diff) | |
download | bin-a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab.tar.gz bin-a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab.tar.xz |
lots of new stuff and misc changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'firefox-youtube-handler')
-rwxr-xr-x | firefox-youtube-handler | 9 |
1 files changed, 9 insertions, 0 deletions
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" + |