diff options
author | marlonivo <email@marlonivo.xyz> | 2025-04-14 10:21:23 +0000 |
---|---|---|
committer | marlonivo <email@marlonivo.xyz> | 2025-04-14 10:21:23 +0000 |
commit | 4e3440c77a5e3a9f09d1719e2e8782500e3a5415 (patch) | |
tree | 25c2b34cc9a73043adb888d33745f473e5ed41d5 /.local/bin/transadd | |
parent | 0d1a84f59d8cdd62c97410f96f8a13c98c51453a (diff) |
Diffstat (limited to '.local/bin/transadd')
-rwxr-xr-x | .local/bin/transadd | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/transadd b/.local/bin/transadd deleted file mode 100755 index a598fad..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, hence the sleep. - -pidof transmission-daemon >/dev/null || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-dwmblocks}") - -transmission-remote -a "$@" && notify-send "🔽 Torrent added." |