From 85f74b5462865b7921e4256d7ce1a414df4a7462 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 10 Sep 2015 14:16:28 +0200 Subject: (s)sl: Switch to maim instead of scrot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- ssl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ssl') diff --git a/ssl b/ssl index 21f438b..91ff5c0 100755 --- a/ssl +++ b/ssl @@ -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" -- cgit v1.2.3-70-g09d2