summaryrefslogtreecommitdiff
path: root/mac/.local/bin/torwrap
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 13:36:06 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 13:36:06 +0900
commit6baef1437fcf40b1d51c5255af78ab297d361d2c (patch)
treec3c257e026ec3fb32b787839f81d8af0c2e6c7ce /mac/.local/bin/torwrap
parent07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (diff)
updates
Diffstat (limited to 'mac/.local/bin/torwrap')
-rwxr-xr-xmac/.local/bin/torwrap8
1 files changed, 8 insertions, 0 deletions
diff --git a/mac/.local/bin/torwrap b/mac/.local/bin/torwrap
new file mode 100755
index 0000000..54f5c0e
--- /dev/null
+++ b/mac/.local/bin/torwrap
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+ifinstalled stig transmission-cli || exit 1
+
+! pidof transmission-daemon >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..."
+
+"${TERMINAL:-st}" -n stig -e stig
+pkill -RTMIN+22 "${STATUSBAR:-dwmblocks}"