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/torwrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mac/.local/bin/torwrap') diff --git a/mac/.local/bin/torwrap b/mac/.local/bin/torwrap index 54f5c0e..f038361 100755 --- a/mac/.local/bin/torwrap +++ b/mac/.local/bin/torwrap @@ -2,7 +2,7 @@ ifinstalled stig transmission-cli || exit 1 -! pidof transmission-daemon >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." +! pgrep -x transmission-daemon >/dev/null 2>&1 && transmission-daemon && osascript -e 'display notification "Starting torrent daemon..." with title "transmission-daemon"' "${TERMINAL:-st}" -n stig -e stig pkill -RTMIN+22 "${STATUSBAR:-dwmblocks}" -- cgit v1.2.3