aboutsummaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-01-05 18:08:40 +0100
committerBert Münnich <ber.t@posteo.de>2014-01-05 18:08:40 +0100
commit58b4a1e5042fcde5bec292503d1e8e2515a9b7ec (patch)
tree562df256c1c3db04e4d5c60970293daad4b17a5b /exec
parent6a0fa2507cc933cfb54fdf4d80c094bfcdf782cf (diff)
Copy image path to primary on Ctrl-c in exec/key-handler
Diffstat (limited to 'exec')
-rw-r--r--exec/key-handler2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec/key-handler b/exec/key-handler
index d2e8aa2..ff25c16 100644
--- a/exec/key-handler
+++ b/exec/key-handler
@@ -1,6 +1,8 @@
#!/bin/sh
case "$1" in
+"C-c")
+ echo -n "$2" | xsel -i ;;
"C-g")
gimp "$2" & ;;
"C-comma")