aboutsummaryrefslogtreecommitdiff
path: root/local
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
parent5d967667ad91bfff9cc663d84316699963bf4905 (diff)
downloadmyconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.tar.gz
myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.tar.bz2
myconfigs-010a14c4d12af624c00d257d27d53a14abd2b7e1.zip
Add xshot and clip X utility scripts
Diffstat (limited to 'local')
-rwxr-xr-xlocal/bin/clip2
-rwxr-xr-xlocal/bin/xshot2
2 files changed, 4 insertions, 0 deletions
diff --git a/local/bin/clip b/local/bin/clip
new file mode 100755
index 0000000..1281090
--- /dev/null
+++ b/local/bin/clip
@@ -0,0 +1,2 @@
+#!/bin/sh
+xclip -selection clipboard
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