Created
February 2, 2023 16:24
-
-
Save XeonDead/374a395a508624b4fc9acadad4939193 to your computer and use it in GitHub Desktop.
termux-url-opener
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment