summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-05-26 12:57:40 -0500
committerzachir <zachir@librem.one>2023-05-26 12:57:40 -0500
commitd361416a22d68efcaaa1f91e63b9bde1adda7f3c (patch)
treeed40762f67fd12c124a514be15c6c1475ffe0c8f
parent1213ff7f0a1f6a0610ffc9978010dbeab7690b49 (diff)
scrshot needs a delay to let bemenu disappear
-rwxr-xr-xscrshot1
1 files changed, 1 insertions, 0 deletions
diff --git a/scrshot b/scrshot
index 478c875..fe21abd 100755
--- a/scrshot
+++ b/scrshot
@@ -37,6 +37,7 @@ sleep 0.3
TEMPNAME="$(mktemp -u | xargs basename)"
TEMPFILE="${TEMPNAME#tmp.}.png"
+sleep 0.1
"$SCRSH" $SARG "$TEMPFILE"
if [ -z "$FILENAME" ]; then