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