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)