Whoops, semicolons
This commit is contained in:
parent
7a273fabd5
commit
df5a762b47
|
@ -9,8 +9,8 @@ remote="https://boop.icu"
|
||||||
sound="$HOME/Projects/local-bin/sounds/success.ogg"
|
sound="$HOME/Projects/local-bin/sounds/success.ogg"
|
||||||
|
|
||||||
# Make sure necessary applications are installed
|
# Make sure necessary applications are installed
|
||||||
if [[ ! -n "$(which xsel)" ]]; then; echo "Please install xsel"; exit; fi
|
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 curl)" ]]; then echo "Please install curl"; exit; fi
|
||||||
|
|
||||||
url=$(curl -F"file=@$1" $remote)
|
url=$(curl -F"file=@$1" $remote)
|
||||||
echo "$url" | tr -d '\n' | xsel -ib -l /tmp/xsel.log
|
echo "$url" | tr -d '\n' | xsel -ib -l /tmp/xsel.log
|
||||||
|
|
Loading…
Reference in New Issue