From c33b5b8a7b2d6fe7a4419c24afccd48fd4b08c68 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sat, 7 Aug 2021 00:08:54 +0400 Subject: Added desktop target to transadd --- .local/bin/scripts/transadd | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.local/bin') diff --git a/.local/bin/scripts/transadd b/.local/bin/scripts/transadd index 5ab3f24..2791431 100755 --- a/.local/bin/scripts/transadd +++ b/.local/bin/scripts/transadd @@ -1,6 +1,7 @@ #!/bin/sh hosts="raspberry +desktop localhost" host=$(printf "$hosts" | dmenu -p "Choose host" -i -l 5) @@ -10,6 +11,12 @@ case $host in host="localhost" creds="" directories="$HOME/downloads" ;; + desktop) + host=$(pass Services/transmission/desktop-host) + creds=$(pass Services/transmission/desktop-creds) + directories="/home/andrew/videos/movies +/home/andrew/videos/series +/home/andrew/downloads" ;; raspberry) host=$(pass Services/transmission/rpi-host) creds=$(pass Services/transmission/rpi-creds) -- cgit v1.2.3