sweb

Some web helper scripts.
git clone git://r-36.net/sweb
Log | Files | Refs | LICENSE

ypl (144B)


      1 #!/bin/sh
      2 
      3 [ -z "$MEDIAPLAYER" ] && MEDIAPLAYER=mpv
      4 mkdir -p $HOME/tmp/ytcache
      5 cd $HOME/tmp/ytcache
      6 youtube-dl --exec "${MEDIAPLAYER} {}" "$@"
      7