summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/scripts/transadd7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/scripts/transadd b/.local/bin/scripts/transadd
index 5ab3f24..cad6fc5 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)