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

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