From ebe296bfe6f1dcc965405316ec69beb6862a9fb5 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Sun, 14 Jan 2024 12:57:59 +0300 Subject: transmission script --- transadd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 transadd diff --git a/transadd b/transadd new file mode 100755 index 0000000..572a98c --- /dev/null +++ b/transadd @@ -0,0 +1,5 @@ +#!/bin/sh + +pidof -q transmission-daemon || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3) + +transmission-remote -a "$@" && notify-send "Torrent added" -- cgit v1.2.3