aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-11-24 00:24:40 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2011-11-24 02:00:08 +0200
commit4a7e8876f78a116853fc44aaa85c2a83cef03906 (patch)
tree77636ba3b6500b74a537dddf0b7d663c276f89a3 /src/config.h
parentaa98914713ce69f047ce1940f27e868044296625 (diff)
apply retval patch
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index e3da763..52fca76 100644
--- a/src/config.h
+++ b/src/config.h
@@ -90,9 +90,10 @@ static key keys[] = {
{ MOD1|ShiftMask, XK_m, switch_fullscreen, {NULL} },
{ MOD1, XK_Right, next_desktop, {NULL} },
{ MOD1, XK_Left, prev_desktop, {NULL} },
- { MOD1|ControlMask, XK_q, quit, {NULL} },
{ MOD1|ControlMask, XK_r, spawn, {.com = rebootcmd} },
{ MOD1|ControlMask, XK_s, spawn, {.com = shutdowncmd} },
+ { MOD1|ShiftMask, XK_r, quit, {.i = 0} }, /* restart */
+ { MOD1|ShiftMask, XK_q, quit, {.i = 1} }, /* quit */
{ MOD1|ShiftMask, XK_Return, spawn, {.com = termcmd} },
{ MOD4, XK_v, spawn, {.com = dmenucmd} },
{ MOD4, XK_grave, spawn, {.com = urxvtcmd} },