summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h4
-rwxr-xr-xstbin110368 -> 110496 bytes
-rw-r--r--x.obin79096 -> 79400 bytes
3 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index fae6224..b50ffc1 100644
--- a/config.h
+++ b/config.h
@@ -192,6 +192,7 @@ static MouseShortcut mshortcuts[] = {
#define TERMMOD (ControlMask|ShiftMask)
static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL };
+static char *copyurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -c", "externalpipe", NULL };
static Shortcut shortcuts[] = {
/* mask keysym function argument */
@@ -207,7 +208,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { MODKEY|ControlMask, XK_o, externalpipe, {.v = openurlcmd } },
+ { MODKEY, XK_o, externalpipe, {.v = openurlcmd } },
+ { MODKEY, XK_c, externalpipe, {.v = copyurlcmd } },
};
/*
diff --git a/st b/st
index d84a5a7..628497e 100755
--- a/st
+++ b/st
Binary files differ
diff --git a/x.o b/x.o
index 9a944ea..e0a7f44 100644
--- a/x.o
+++ b/x.o
Binary files differ