From fb18fcfaa9be09dffd473b8bd1c44cdb886db1a5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 3 Apr 2018 12:54:48 -0400 Subject: Move home bins to ~/.local/bin Also replaced ~/.cargo/bin with a symlink to ~/.local/bin to avoid having to have that in $path as well. --- home/.local/bin/sup | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 home/.local/bin/sup (limited to 'home/.local/bin/sup') diff --git a/home/.local/bin/sup b/home/.local/bin/sup new file mode 100755 index 00000000..22f2b85e --- /dev/null +++ b/home/.local/bin/sup @@ -0,0 +1,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" -- cgit 1.4.1