aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/launch-transmission
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/launch-transmission')
-rwxr-xr-xdotfiles/.local/bin/launch-transmission9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/launch-transmission b/dotfiles/.local/bin/launch-transmission
new file mode 100755
index 0000000..568d12e
--- /dev/null
+++ b/dotfiles/.local/bin/launch-transmission
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Start transmission's remote gtk frontend, if the daemon is not running, then start it as well
+
+if ! [ -f "$HOME/.cache/transdaemonpid" ] ; then
+ toggletorrent
+fi
+
+transmission-remote-gtk