Fuxx
This commit is contained in:
parent
8268fba83d
commit
7ed2a6e110
9565 changed files with 1315332 additions and 90 deletions
4
home/.local/bin/scripts/ytm
Executable file
4
home/.local/bin/scripts/ytm
Executable 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 )"
|
Loading…
Add table
Add a link
Reference in a new issue