aboutsummaryrefslogtreecommitdiff
path: root/config/uzbl/scripts
diff options
context:
space:
mode:
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'"
+