Replace peerflix script with a shell alias

This commit is contained in:
coolneng 2022-06-09 18:17:42 +02:00
parent 0e5c236508
commit ac6a2451db
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 1 additions and 8 deletions

View File

@ -12,6 +12,7 @@ alias vim "nvim"
alias docker-compose "podman-compose" alias docker-compose "podman-compose"
alias sc "systemctl" alias sc "systemctl"
alias jc "journalctl -eu" alias jc "journalctl -eu"
alias webtorrent "webtorrent -i -o /tmp/webtorrent --mpv --player-args='--sub-auto=all --sub-file-paths=Subs:subs'"
# Additional paths # Additional paths
set PATH $PATH $HOME/.emacs.d/bin set PATH $PATH $HOME/.emacs.d/bin

View File

@ -1,8 +0,0 @@
#!/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"