summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-08-03 12:54:20 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-08-03 12:54:20 -0500
commit541ecea796d2ac99e08a7e1185585cf0d1531799 (patch)
tree1a138c86cd0d0306cba1644a37b0fd3e34d463bc
parent5a2d87fa6cd33bd170b6e98534fe966ffa17576b (diff)
fix killclient binding, add helpful comment
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 8c10165..309c2fa 100644
--- a/config.def.h
+++ b/config.def.h
@@ -53,6 +53,7 @@ static const int repeat_delay = 600;
static const char *termcmd[] = { "alacritty", NULL };
static const Key keys[] = {
+ /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
/* modifier key function argument */
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
@@ -63,7 +64,7 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_l, setmfact, {.f = +0.05} },
{ MODKEY, XKB_KEY_Return, zoom, {0} },
{ MODKEY, XKB_KEY_Tab, view, {0} },
- { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_c, killclient, {0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} },
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },