diff --git a/scripts/.local/share/scripts/peerflix b/scripts/.local/share/scripts/peerflix new file mode 100755 index 0000000..5dc177c --- /dev/null +++ b/scripts/.local/share/scripts/peerflix @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +directory=/tmp/webtorrent +player=mpv + +webtorrent download "$1" -s -o "$directory" --"$player" +read -rp "File number: " nr +webtorrent download "$@" -s "$nr" -o "$directory" --"$player"