summaryrefslogtreecommitdiff
path: root/bin/play-yt
blob: 2830354f22c82cfe3ff7df41a2528f311b1ea21b (plain)
1
2
3
4
5
6
#!/usr/bin/env bash

rm /tmp/youtube.*
youtube-dl -o /tmp/youtube "$@" &
sleep 5s && mpv /tmp/youtube.*
rm /tmp/youtube.*