diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-24 11:34:32 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-24 11:34:32 +0900 |
| commit | 01e4a66a09486307728d016576bee88df7b698c1 (patch) | |
| tree | b8237c0460b29a459bf9aa3afe8525b2677d5601 /ar/.local/bin/tordone | |
| parent | 7ad735138ce0160e68c3cb0e8be013e778400cf8 (diff) | |
updates
Diffstat (limited to 'ar/.local/bin/tordone')
| -rwxr-xr-x | ar/.local/bin/tordone | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/tordone b/ar/.local/bin/tordone index 016568f..f220c32 100755 --- a/ar/.local/bin/tordone +++ b/ar/.local/bin/tordone @@ -5,6 +5,6 @@ if [ -n "$completed_torrents" ]; then for torrent_id in $completed_torrents; do transmission-remote -n "$USER" -t "$torrent_id" -r done - pkill -RTMIN+20 "${STATUSBAR:-dwmblocks}" && notify-send "✅ Transmission-daemon" "Torrent(s) $TR_TORRENT_NAME has completed downloading. Deleting torrent files." + pkill -RTMIN+17 "${STATUSBAR:-dwmblocks}" && notify-send "✅ Transmission-daemon" "Torrent(s) $TR_TORRENT_NAME has completed downloading. Deleting torrent files." [ -z "$(transmission-remote -n "$USER" -l | grep -v "Sum:")" ] && killall transmission-daemon && notify-send "❌ Transmission-daemon disabled." fi |
