From cccc73924ccdf3ae7d49cf65f5fb248467b66a6f Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 12 Mar 2016 07:04:43 -0800 Subject: [PATCH] update scropt --- sh/now | 0 sh/scropt | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 sh/now diff --git a/sh/now b/sh/now old mode 100644 new mode 100755 diff --git a/sh/scropt b/sh/scropt index c1b40fb..52c73ed 100755 --- a/sh/scropt +++ b/sh/scropt @@ -3,8 +3,8 @@ scropt() { local now= which ~/sh/now 2>/dev/null >/dev/null && now=$(~/sh/now) || now=$(date +%F_%T) - echo $now - scrot ~/$now.png -e "optipng -quiet \$f" "$@" \ - && mv ~/$now.png ~/Dropbox/Public/screenshots/ + local fn="$HOME/play/$now.png" + scrot "$fn" -e "optipng -quiet \$f" "$@" + echo "$fn" } scropt "$@"