This commit is contained in:
CoolnsX
2021-11-22 23:12:33 +05:30
parent 6c33e7fbfe
commit f102e6bbd1
5 changed files with 14 additions and 8 deletions

10
torrent
View File

@@ -1,3 +1,11 @@
#!/bin/sh
aria2c -d MOVIES --seed-time=0 "$(xclip -out clipboard)"
if [ -z "$*" ]; then
magnet="$(xclip -out clipboard)"
else
magnet=$*
fi
notify-send "Torrent:Rukk ja Download ho rha hai"
echo "$magnet"
aria2c -d MOVIES --seed-time=0 "$magnet" && notify-send "Torrent:cheecha download hogyi" || notify-send -u critical "Torrent:cheecha error!!"