From b15c6b710f19b74398acd738efb6281183c88b8d Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 24 Aug 2025 12:05:10 +0900 Subject: updates --- mac/.local/bin/transadd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mac/.local/bin/transadd') diff --git a/mac/.local/bin/transadd b/mac/.local/bin/transadd index ffd8ded..c6d2e94 100755 --- a/mac/.local/bin/transadd +++ b/mac/.local/bin/transadd @@ -4,7 +4,10 @@ # 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+22 "${STATUSBAR:-dwmblocks}") +pgrep -x transmission-daemon >/dev/null 2>&1 || ( + transmission-daemon && + osascript -e 'display notification "💡 Starting transmission daemon..." with title "transmission-daemon"' +) directory="$HOME/Torrents" -- cgit v1.2.3