diff --git a/common/boop.sh b/common/boop.sh index 0826e28..1e54c46 100755 --- a/common/boop.sh +++ b/common/boop.sh @@ -9,8 +9,8 @@ remote="https://boop.icu" sound="$HOME/Projects/local-bin/sounds/success.ogg" # Make sure necessary applications are installed -if [[ ! -n "$(which xsel)" ]]; then; echo "Please install xsel"; exit; fi -if [[ ! -n "$(which curl)" ]]; then; echo "Please install curl"; exit; fi +if [[ ! -n "$(which xsel)" ]]; then echo "Please install xsel"; exit; fi +if [[ ! -n "$(which curl)" ]]; then echo "Please install curl"; exit; fi url=$(curl -F"file=@$1" $remote) echo "$url" | tr -d '\n' | xsel -ib -l /tmp/xsel.log