aboutsummaryrefslogtreecommitdiff
path: root/local/bin/xshot
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/xshot')
-rwxr-xr-xlocal/bin/xshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/bin/xshot b/local/bin/xshot
new file mode 100755
index 0000000..90f91af
--- /dev/null
+++ b/local/bin/xshot
@@ -0,0 +1,2 @@
+#!/bin/sh
+import -window "$(xdotool selectwindow)" ~/xshot_$(date +%F_%H%M%S_%N).png