diff options
Diffstat (limited to 'ssl')
-rwxr-xr-x | ssl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env bash ## -# Create a screenshot using scrot, then dump it in ~/dumpdir for +# Create a screenshot using scrot, optipng it, then dump it in ~/dumpdir for # dumpwatch to upload it to the appropriate server. # # This script requires dumpwatch to already be running. @@ -16,5 +16,6 @@ fi file=$(mktemp -u XXXXXXXXXX.png) scrot -s "$TMPDIR"/"$file" +optipng "$TMPDIR"/"$file" mv "$TMPDIR"/"$file" "$HOME"/dumpdir/"$file" |