summaryrefslogtreecommitdiffstats
path: root/.config/Scripts/transmission.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/Scripts/transmission.sh')
-rwxr-xr-x.config/Scripts/transmission.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/Scripts/transmission.sh b/.config/Scripts/transmission.sh
new file mode 100755
index 0000000..794f6bb
--- /dev/null
+++ b/.config/Scripts/transmission.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+if [ -f $(pgrep transmission) ];
+ then
+ urxvt -e transmission-remote-cli
+ else
+ transmission-daemon && urxvt -e transmission-remote-cli
+fi