diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-09-10 14:16:28 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-09-10 14:16:28 +0200 |
commit | 85f74b5462865b7921e4256d7ce1a414df4a7462 (patch) | |
tree | f79cf28418bdd25fb4342c5de8904185c2c5c8d7 /ssl | |
parent | 6b1bf5c79ac30a54913078c7eb2039e1f6850b1e (diff) | |
download | bin-master.tar.xz |
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'ssl')
-rwxr-xr-x | ssl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env bash ## -# Create a screenshot using scrot, optipng it, then dump it in ~/dumpdir for +# Create a screenshot using maim, optipng it, then dump it in ~/dumpdir for # dumpwatch to upload it to the appropriate server. # # This script requires dumpwatch to already be running. @@ -15,7 +15,7 @@ fi file=$(mktemp -u XXXXXXXXXX.png) -scrot -s "$TMPDIR"/"$file" +maim -s "$TMPDIR"/"$file" optipng "$TMPDIR"/"$file" mv "$TMPDIR"/"$file" "$HOME"/dumpdir/"$file" |