#!/bin/sh remote="https://boop.icu" sound="${HOME}/src/local-bin/sounds/success.ogg" url=$(curl -F"file=@$1" $remote) echo "$url" | xsel -ib mpv $sound