summary refs log tree commit diff
path: root/curtis/.bin/sup
blob: 7a69d9d0e49321501541acca32c40893ea07ee3a (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env zsh
set -o errexit -o nounset -o pipefail

dir=$(mktemp -d)
screencapture -i "$dir/capture.png"
up "$dir/capture.png"
rm -r "$dir"