aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/mscrot
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/mscrot')
-rwxr-xr-x.local/bin/mscrot6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/mscrot b/.local/bin/mscrot
new file mode 100755
index 0000000..3848aaa
--- /dev/null
+++ b/.local/bin/mscrot
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+p="~/pictures/scrot"
+cmd="mv \$f ${p} && notify-send \"Screenshot\" \"Saved to ${p}/\$f\""
+
+scrot -mz multi-%Y%m%d%H%M%S.png -e "${cmd}"