chg: Updated the messaged

This commit is contained in:
Sayantan Santra 2023-10-26 11:57:07 -05:00
parent 2c61b926fb
commit 7cc78461f3
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@
name="$1"
if [ "$3" == "add" ]; then
message="The torrent '$name' has been added."
message="Added: $name"
elif [ "$3" == "fin" ]; then
size="$(echo $2 | numfmt --to=iec --format %.2f)B"
message="The torrent '$name' ($size) has finished downloading."
message="Finished: [$size] $name"
else
exit
fi