#!/usr/bin/env bash PIC="${HOME}/pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" maim --format=png --hidecursor --quality 8 "${PIC}" && \ curl --form "file=@${PIC}" "https://0x0.st" | \ xclip -quiet