diff options
| -rwxr-xr-x | .local/bin/scripts/transopen | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/scripts/transopen b/.local/bin/scripts/transopen index 3897ef0..62cb68a 100755 --- a/.local/bin/scripts/transopen +++ b/.local/bin/scripts/transopen @@ -2,6 +2,7 @@ # Possible servers hosts="raspberry +desktop localhost" if [ -z "$1" ]; then @@ -12,6 +13,10 @@ fi case $host in localhost) tremc -c localhost ;; + desktop) + host=$(pass Services/transmission/desktop-host) + creds=$(pass Services/transmission/desktop-creds) + tremc -c "$creds@$host" ;; raspberry) host=$(pass Services/transmission/rpi-host) creds=$(pass Services/transmission/rpi-creds) |