This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
function start_ciadpi { | |
~/bin/ciadpi -i 127.0.0.1 -p 10801 -s 1 & | |
export CIADPI_PID=$! | |
export -g extra_args=--proxy 'socks5://127.0.0.1:10801' | |
sleep 2s; | |
} | |
function stop_ciadpi { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
if [[ $1 == *'magnet'* ]] | |
then | |
aria2c $1 | |
termux-notification --title "aria2c" --content "Completed: $1" | |
else | |
echo $1 >> ~/yt-dl.list | |
fi |