From 16b776d6ecc15d801ffeb4891238b900e938e36a Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Tue, 19 Jan 2021 20:55:32 +0100 Subject: [PATCH] Update torrenting setup --- .config/stig/rc | 2 ++ .local/bin/scripts/torradd | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .config/stig/rc diff --git a/.config/stig/rc b/.config/stig/rc new file mode 100644 index 0000000..ca310f3 --- /dev/null +++ b/.config/stig/rc @@ -0,0 +1,2 @@ +# Host that runs Transmission daemon +set connect.host 192.168.1.200 diff --git a/.local/bin/scripts/torradd b/.local/bin/scripts/torradd index 7174b3a..1496f89 100755 --- a/.local/bin/scripts/torradd +++ b/.local/bin/scripts/torradd @@ -2,7 +2,4 @@ # Add torrent to downloading queue. -pidof transmission-daemon >/dev/null || \ - (transmission-daemon && notify-send "Starting transmission daemon...") - -transmission-remote -a "$@" && notify-send " Torrent added." +transmission-remote 192.168.1.200 -a "$@" && notify-send " Torrent added."