aboutsummaryrefslogtreecommitdiff
path: root/local/bin/xshot
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-04-28 14:52:18 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-04-28 14:52:18 +0200
commit010a14c4d12af624c00d257d27d53a14abd2b7e1 (patch)
tree81f48535448bfc8159c78b6c609b8a643a47597b /local/bin/xshot
parent5d967667ad91bfff9cc663d84316699963bf4905 (diff)
downloadmyconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.tar.gz
myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.tar.bz2
myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.zip
Add xshot and clip X utility scripts
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