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 | |
parent | 6b1bf5c79ac30a54913078c7eb2039e1f6850b1e (diff) | |
download | bin-master.tar.xz |
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rwxr-xr-x | sl | 4 | ||||
-rwxr-xr-x | ssl | 4 |
2 files changed, 4 insertions, 4 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 "$TMPDIR"/"$file" +maim "$TMPDIR"/"$file" optipng "$TMPDIR"/"$file" mv "$TMPDIR"/"$file" "$HOME"/dumpdir/"$file" @@ -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" |