New Setup 📦
This commit is contained in:
parent
d16174b447
commit
415dbd08a1
10194 changed files with 1368647 additions and 4 deletions
4
home/.local/bin/scripts/ytp
Executable file
4
home/.local/bin/scripts/ytp
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
search=$(printf '%s' "$*" | tr ' ' '+')
|
||||
mpv "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