summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-08-07 00:08:54 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-08-07 00:12:25 +0400
commitc33b5b8a7b2d6fe7a4419c24afccd48fd4b08c68 (patch)
tree7803d39ea63e24e2991e48f073e3e063b96e97c2 /.local
parent5c0fc079b4a4a0b753f7b9a4e4e75a14d6aacfd0 (diff)
Added desktop target to transadd
Diffstat (limited to '.local')
-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..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)