#!/bin/sh
website="$(curl -F"file=@${1:--}" https://0x0.st)"
echo $website
[ "$WAYLAND_DISPLAY" ] && echo -n $website | wl-copy