summaryrefslogtreecommitdiff
path: root/.local/bin/transadd
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 18:02:25 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-25 18:02:25 -0400
commitcb1a51092d12db12f7ba29e57daed6d64b311d38 (patch)
tree3c4e0bf555d079b9bc4f04889aa2cc6bb4f91255 /.local/bin/transadd
parent6312ef191a9ab7466ec72bb3aba7138816062c2f (diff)
More cleanup
Diffstat (limited to '.local/bin/transadd')
-rwxr-xr-x.local/bin/transadd9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/transadd b/.local/bin/transadd
deleted file mode 100755
index f7e95d6..0000000
--- a/.local/bin/transadd
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# Mimeapp script for adding torrent to transmission-daemon, but will also start the daemon first if not running.
-
-# transmission-daemon sometimes fails to take remote requests in its first moments.
-
-pgrep -x transmission-da || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks)
-
-transmission-remote -a "$@" && notify-send " Torrent added."