From bdbd07823796973d11536dc05dc1cf7bb11f2341 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 26 Oct 2020 00:38:53 -0400 Subject: moving to pia as a vpn provider --- .local/bin/dbshare | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.local/bin/dbshare') diff --git a/.local/bin/dbshare b/.local/bin/dbshare index 817fe8c..fdb9be2 100755 --- a/.local/bin/dbshare +++ b/.local/bin/dbshare @@ -2,6 +2,7 @@ output="$(dropbox-cli sharelink $1)" + case "$output" in https*) echo "$output" | xsel -b @@ -10,5 +11,6 @@ $output It has been copied to your clipboard." ;; *) notify-send -a " Dropbox" "ERROR: -Your file could not be shared." ;; +Your file could not be shared. +$output" ;; esac -- cgit v1.2.3