summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-04-20 14:57:42 -0500
committerzachir <zachir@librem.one>2023-04-20 14:57:42 -0500
commitfb145f114789d85250f735a23ba3d10d1d37d8cf (patch)
tree84032393a171d9a0b51601db475b7ba0145a352b
parentadc488c28787faecb634fc158e5e79fd3de933ad (diff)
add 0.3s to not get dmenu in screenshot
-rwxr-xr-xscrshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/scrshot b/scrshot
index e270320..478c875 100755
--- a/scrshot
+++ b/scrshot
@@ -32,6 +32,8 @@ if [ -z "$DMENU" ]; then
fi
fi
+sleep 0.3
+
TEMPNAME="$(mktemp -u | xargs basename)"
TEMPFILE="${TEMPNAME#tmp.}.png"