commit 46e6ef97aec095b4e9908c34e80564db41b8f004
parent 49b81c67cf225ed5bfb5bc6367b139889b5cf506
Author: Hayden Hamilton <hayden@haydenvh.com>
Date: Thu, 11 Jun 2020 12:54:35 +0100
dgrep
Diffstat:
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config.h b/config.h
@@ -16,7 +16,7 @@ static int borderpx = 25;
* 4: value of shell in /etc/passwd
* 5: value of shell in config.h
*/
-static char *shell = "/bin/fish";
+static char *shell = "/bin/zsh";
char *utmp = NULL;
char *stty_args = "stty raw pass8 nl -echo -iexten -cstopb 38400";
@@ -172,6 +172,8 @@ static MouseShortcut mshortcuts[] = {
/* urlhand */
static char *urlhand[] = { "/bin/sh", "-c",
"urlhand", NULL };
+static char *dgrep[] = { "/bin/sh", "-c",
+ "dgrep", NULL };
static Shortcut shortcuts[] = {
/* mask keysym function argument */
@@ -183,12 +185,12 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_I, zoom, {.f = -1} },
{ TERMMOD, XK_Home, zoomreset, {.f = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
- { ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ TERMMOD, XK_K, kscrollup, {.i = -1} },
{ TERMMOD, XK_J, kscrolldown, {.i = -1} },
{ TERMMOD, XK_Escape, keyboard_select,{.i = 0} },
{ TERMMOD, XK_L, externalpipe, {.v = urlhand } },
+ { TERMMOD, XK_L, externalpipe, {.v = dgrep } },
};
diff --git a/st b/st
Binary files differ.
diff --git a/st.o b/st.o
Binary files differ.
diff --git a/x.o b/x.o
Binary files differ.