summaryrefslogtreecommitdiff
path: root/src/scripts/sScreenshot
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/sScreenshot')
-rwxr-xr-xsrc/scripts/sScreenshot7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scripts/sScreenshot b/src/scripts/sScreenshot
new file mode 100755
index 0000000..33fda01
--- /dev/null
+++ b/src/scripts/sScreenshot
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Wrapper script for screenshots
+
+[ -d ~/Pictures/screenshots ] || mkdir -p ~/Pictures/screenshots
+
+maim ~/Pictures/screenshots/$(date +%s).png