Skip to content

Commit

Permalink
Copy upload url to clipboard if xclip installed
Browse files Browse the repository at this point in the history
  • Loading branch information
simoniz0r committed Aug 26, 2018
1 parent 458ef67 commit be2b55b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filebiner
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ uploadfile() {
exit 1
else
echo "url: $UP_URL"
if type xclip > /dev/null 2>&1; then
echo -n "$UP_URL" | xclip -i -selection clipboard
fi
fi
exit 0
}
Expand Down

0 comments on commit be2b55b

Please sign in to comment.