diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index e196c59..3cb0ca4 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -12,6 +12,7 @@ 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 diff --git a/scripts/.local/share/scripts/peerflix b/scripts/.local/share/scripts/peerflix deleted file mode 100755 index 5dc177c..0000000 --- a/scripts/.local/share/scripts/peerflix +++ /dev/null @@ -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"