summaryrefslogtreecommitdiff
path: root/mac/.local/bin/torwrap
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-24 12:05:10 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-24 12:05:10 +0900
commitb15c6b710f19b74398acd738efb6281183c88b8d (patch)
tree5f23c44e6f06a4b943f4db9d4b9ab69b07bc5446 /mac/.local/bin/torwrap
parent818ff6ad1be60d8d0d9de039306d1fc5c7189081 (diff)
updates
Diffstat (limited to 'mac/.local/bin/torwrap')
-rwxr-xr-xmac/.local/bin/torwrap2
1 files changed, 1 insertions, 1 deletions
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}"