aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-09-10 14:16:28 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-09-10 14:16:28 +0200
commit85f74b5462865b7921e4256d7ce1a414df4a7462 (patch)
treef79cf28418bdd25fb4342c5de8904185c2c5c8d7
parent6b1bf5c79ac30a54913078c7eb2039e1f6850b1e (diff)
downloadbin-master.tar.xz
(s)sl: Switch to maim instead of scrotHEADmaster
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rwxr-xr-xsl4
-rwxr-xr-xssl4
2 files changed, 4 insertions, 4 deletions
diff --git a/sl b/sl
index a788d18..cfa51b1 100755
--- a/sl
+++ b/sl
@@ -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"
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"