summaryrefslogtreecommitdiff
path: root/.i3/scripts/transmission.sh
diff options
context:
space:
mode:
Diffstat (limited to '.i3/scripts/transmission.sh')
-rwxr-xr-x.i3/scripts/transmission.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.i3/scripts/transmission.sh b/.i3/scripts/transmission.sh
new file mode 100755
index 0000000..794f6bb
--- /dev/null
+++ b/.i3/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