summaryrefslogtreecommitdiff
path: root/bin/extra
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra')
-rwxr-xr-xbin/extra/ytplay4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/extra/ytplay b/bin/extra/ytplay
index b5c1a8c..66204c4 100755
--- a/bin/extra/ytplay
+++ b/bin/extra/ytplay
@@ -1,2 +1,4 @@
#!/bin/sh
-yt-dlp -o - "$(ytlink)" | mpv -
+url="$(ytlink)"
+notify-send "playing: $url" &
+yt-dlp -o - "$url" | mpv -