diff options
-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" |