diff options
| author | Octavian Cerna <octavian.cerna@gmail.com> | 2013-01-16 14:30:15 +0200 |
|---|---|---|
| committer | Octavian Cerna <octavian.cerna@gmail.com> | 2013-01-16 14:30:15 +0200 |
| commit | 4e1bed00a1db007da54c4136952d863aae794cb6 (patch) | |
| tree | 86da1cd87a3d4692b55212b3288f4f0d3a6b0285 | |
| parent | e14c31c4c0b0b925f389ae6aadc57a59b068b93c (diff) | |
config.h: M-C-q => quit, M-C-l => lock
| -rw-r--r-- | config.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -64,6 +64,7 @@ static const Layout layouts[] = { /* commands */ static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "randbgterm", NULL }; +static const char *lockcmd[] = { "xautolock", "-locknow", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -99,8 +100,9 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ControlMask, XK_q, quit, {0} }, { MODKEY|ControlMask, XK_r, quit, {.i = 1 } }, /* restart */ + { MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } }, }; /* button definitions */ |
