Added rss script

This commit is contained in:
CoolnsX
2021-12-05 23:04:19 +05:30
parent 439a85b8d8
commit 831d4c134a
3 changed files with 24 additions and 3 deletions

View File

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