diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 06:06:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 06:06:27 +0900 |
| commit | eeaa5670e9bbf54af3f5577f6631a72fb3d562de (patch) | |
| tree | 823ddf2e88b07c97592b9b9d776f6db1d6a97265 /ar/.local/bin/tordone | |
| parent | b15632ee7226179d9b7a40f8626f55eed29c92c3 (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 4e097a0..016568f 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+22 "${STATUSBAR:-dwmblocks}" && notify-send "✅ Transmission-daemon" "Torrent(s) $TR_TORRENT_NAME has completed downloading. Deleting torrent files." + pkill -RTMIN+20 "${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 |
