summaryrefslogtreecommitdiff
path: root/xshot
diff options
context:
space:
mode:
Diffstat (limited to 'xshot')
-rwxr-xr-xxshot17
1 files changed, 17 insertions, 0 deletions
diff --git a/xshot b/xshot
new file mode 100755
index 0000000..2f1cc18
--- /dev/null
+++ b/xshot
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set -e
+
+screenshotPATH=~/media/screenshots/
+
+cd $screenshotPATH
+
+case $1 in
+
+ full)
+ scrot -z -q 100 "%Y-%m-%d %H:%M:%S.png" ;;
+
+ area)
+ scrot -z -q 100 -s "%Y-%m-%d %H:%M:%S.png" ;; # -f --freeze
+
+esac