From 4276ddd26a6841809199fd915cda0b0089173451 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 22 Oct 2020 11:47:42 -0400 Subject: add zoxide --- common/bin/play-yt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 common/bin/play-yt (limited to 'common/bin/play-yt') diff --git a/common/bin/play-yt b/common/bin/play-yt new file mode 100755 index 0000000..2830354 --- /dev/null +++ b/common/bin/play-yt @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +rm /tmp/youtube.* +youtube-dl -o /tmp/youtube "$@" & +sleep 5s && mpv /tmp/youtube.* +rm /tmp/youtube.* -- cgit v1.2.3