X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=kb.c;h=f93f69fe1c699213761d958ef829b768c2f63b29;hp=2f16910fc19b5fa021f4ef5afe5fd8cc65dad46f;hb=d7e17087ed2fc5eed57efa03e81460e3e41f7238;hpb=8b59083eb13c0712e04d9a5b6d7bf4af5913c442 diff --git a/kb.c b/kb.c index 2f16910..f93f69f 100644 --- a/kb.c +++ b/kb.c @@ -9,13 +9,13 @@ /********** CUSTOMIZE **********/ -char *term[] = { +const char *term[] = { "aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL }; static Key key[] = { - { Mod1Mask, XK_Return, run, term }, + { Mod1Mask, XK_Return, (void (*)(void *))spawn, term }, { Mod1Mask, XK_k, sel, "prev" }, { Mod1Mask, XK_j, sel, "next" }, { Mod1Mask, XK_g, grid, NULL }, @@ -28,7 +28,7 @@ static Key key[] = { /********** CUSTOMIZE **********/ void -update_keys() +update_keys(void) { unsigned int i, len; KeyCode code;