aboutsummaryrefslogtreecommitdiff
path: root/config/uzbl/scripts
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-02-23 17:55:24 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-02-23 17:55:24 +0100
commit4860f85d5e590c2fa9a5d2fd6fb7400c8a3d86da (patch)
treed61a1f64fc06cf33c4d565a0880c9cda7e860e04 /config/uzbl/scripts
parentc57eb03dd63cdc0c2cb945a8bcf011a11c6ac604 (diff)
downloaddotfiles-4860f85d5e590c2fa9a5d2fd6fb7400c8a3d86da.tar.gz
dotfiles-4860f85d5e590c2fa9a5d2fd6fb7400c8a3d86da.tar.bz2
dotfiles-4860f85d5e590c2fa9a5d2fd6fb7400c8a3d86da.zip
add youtube key to uzbl
Diffstat (limited to 'config/uzbl/scripts')
-rwxr-xr-xconfig/uzbl/scripts/youtube.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/uzbl/scripts/youtube.pl b/config/uzbl/scripts/youtube.pl
new file mode 100755
index 0000000..5a0e99a
--- /dev/null
+++ b/config/uzbl/scripts/youtube.pl
@@ -0,0 +1,4 @@
+#!/usr/bin/env perl
+my $url = $ENV{'UZBL_URI'};
+exec "mpv '$url'"
+