From 2a2d4f1f09fe69fd67fa36db2bf3a28cb242830a Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Sun, 24 Sep 2017 15:52:59 +0200 Subject: [PATCH] Improvements. --- screenshot.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 screenshot.fish diff --git a/screenshot.fish b/screenshot.fish old mode 100644 new mode 100755 index d7329e4..ac795e8 --- a/screenshot.fish +++ b/screenshot.fish @@ -1,3 +1,5 @@ +#! /usr/bin/fish + # Setup set SCP_USER "jmaa" set SRT_USER "j" @@ -13,7 +15,7 @@ if count $argv > /dev/null else set FILE_EXT ".png" set TEMP_FILE "/tmp/screenshot_temp"$FILE_EXT - scrot -rzu $TEMP_FILE + scrot -u $TEMP_FILE end set LINK (echo (sha256sum -b $TEMP_FILE) | xxd -r -p | base64 | cut -c-3)