diff options
Diffstat (limited to '.local/bin/scripts/transadd')
| -rwxr-xr-x | .local/bin/scripts/transadd | 7 |
1 files changed, 7 insertions, 0 deletions
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) |