Revert "Replace peerflix script with a shell alias"
This reverts commit ac6a2451db
.
This commit is contained in:
parent
330180f5b1
commit
bb89177ff9
|
@ -12,7 +12,6 @@ alias vim "nvim"
|
|||
alias docker-compose "podman-compose"
|
||||
alias sc "systemctl"
|
||||
alias jc "journalctl -eu"
|
||||
alias webtorrent "webtorrent -i -o /tmp/webtorrent --mpv --player-args='--sub-auto=all --sub-file-paths=Subs:subs'"
|
||||
|
||||
# Additional paths
|
||||
set PATH $PATH $HOME/.emacs.d/bin
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue