aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 3683ee5..81d7dec 100644
--- a/config.def.h
+++ b/config.def.h
@@ -65,7 +65,8 @@ static Key keys[] = {
{ MOD1|SHIFT, XK_b, switch_mode, {.i = BSTACK}},
{ MOD1|SHIFT, XK_g, switch_mode, {.i = GRID}},
{ MOD1|SHIFT, XK_f, switch_mode, {.i = FLOAT}},
- { MOD1|CONTROL, XK_q, quit, {NULL}},
+ { MOD1|CONTROL, XK_r, quit, {.i = 0}}, /* quit with exit value 0 */
+ { MOD1|CONTROL, XK_q, quit, {.i = 1}}, /* quit with exit value 1 */
{ MOD1|SHIFT, XK_Return, spawn, {.com = termcmd}},
{ MOD4, XK_j, moveresize, {.v = (int []){ 0, 25, 0, 0 }}}, /* move down */
{ MOD4, XK_k, moveresize, {.v = (int []){ 0, -25, 0, 0 }}}, /* move up */