aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/torwrap
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-07-29 03:42:18 +0300
committerawy <awy@awy.one>2025-07-29 03:42:18 +0300
commitef6dff4cce15186a66ba34cdd7bd39958ebf7f58 (patch)
treefcfa61164ca6e79c900b5d11f6afc6b46aaccb84 /.local/bin/torwrap
downloadhyprdots-ef6dff4cce15186a66ba34cdd7bd39958ebf7f58.tar.gz
first commit
Diffstat (limited to '.local/bin/torwrap')
-rwxr-xr-x.local/bin/torwrap7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/torwrap b/.local/bin/torwrap
new file mode 100755
index 0000000..4bbeb35
--- /dev/null
+++ b/.local/bin/torwrap
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+ifinstalled stig transmission-cli || exit 1
+
+! pidof transmission-daemon >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..."
+
+$TERMINAL -e stig; pkill -RTMIN+7 "${STATUSBAR:-waybar}"