This commit is contained in:
Luca 2022-11-22 13:25:44 +01:00
parent 8268fba83d
commit 7ed2a6e110
9565 changed files with 1315332 additions and 90 deletions

4
home/.local/bin/scripts/ytm Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
search=$(printf '%s' "$*" | tr ' ' '+')
mpv --no-video "https://youtube.com/$(curl -s "https://vid.puffyan.us/search?q=$search" | grep -Eo "watch\?v=.{11}" | head -n 1 )"