summaryrefslogtreecommitdiff
path: root/transadd
diff options
context:
space:
mode:
Diffstat (limited to 'transadd')
-rwxr-xr-xtransadd5
1 files changed, 5 insertions, 0 deletions
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"