diff options
author | Azat Bahawi <azahi@teknik.io> | 2019-12-02 18:03:13 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2019-12-02 18:03:13 +0300 |
commit | 29a3bfae91ff4843a9ea2cab5b8cd18393fbdbf4 (patch) | |
tree | cc977d45768cd4403b89182bbe26303037a55d41 /scripts/xshot-upload.sh | |
parent | fix build script error and update stack (diff) |
Refactor scripts
Diffstat (limited to '')
-rwxr-xr-x | scripts/xshot-upload.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/xshot-upload.sh b/scripts/xshot-upload.sh index 0dcd1ec..ed037de 100755 --- a/scripts/xshot-upload.sh +++ b/scripts/xshot-upload.sh @@ -1,7 +1,7 @@ #!/bin/sh -PIC="${HOME}/pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" +PIC="$HOME/pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" -maim --format=png --hidecursor --quality 8 "${PIC}" && \ - curl --form "file=@${PIC}" "https://0x0.st" | \ +maim --format=png --hidecursor --quality 8 "$PIC" && \ + curl --form "file=@$PIC" "https://0x0.st" | \ xclip -quiet |