summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/play-kj2
-rwxr-xr-xbin/play-yt6
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/play-kj b/bin/play-kj
new file mode 100755
index 0000000..a74ed96
--- /dev/null
+++ b/bin/play-kj
@@ -0,0 +1,2 @@
+#!/bin/bash
+livestreamer "$(xclip -selection clipboard -out)" best \ No newline at end of file
diff --git a/bin/play-yt b/bin/play-yt
new file mode 100755
index 0000000..cca0628
--- /dev/null
+++ b/bin/play-yt
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rm /tmp/youtube.*
+youtube-dl -o /tmp/youtube "$@" &
+sleep 5s && mpv /tmp/youtube.*
+rm /tmp/youtube.*