summaryrefslogtreecommitdiff
path: root/screenshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'screenshot.sh')
-rwxr-xr-xscreenshot.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/screenshot.sh b/screenshot.sh
new file mode 100755
index 0000000..e0019d1
--- /dev/null
+++ b/screenshot.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+DIR=/tmp/screenshot
+
+mkdir -p $DIR && gnome-screenshot --area --file $DIR/$(date +"%Y-%m-%d.%H:%M:%S.png")