Add slock shortcut
1 files changed, 6 insertions(+), 4 deletions(-)

M custom_config
M custom_config +6 -4
@@ 3,7 3,7 @@ 
 
 diff -r 52cda53b5610 config.def.h
 --- a/config.def.h	Wed Feb 04 09:59:51 2015 -0800
-+++ b/config.def.h	Thu Feb 05 10:22:10 2015 -0800
++++ b/config.def.h	Thu Feb 05 16:41:25 2015 -0800
 @@ -2,12 +2,12 @@
  
  /* appearance */

          
@@ 15,7 15,7 @@ diff -r 52cda53b5610 config.def.h
 -static const char selbgcolor[]      = "#005577";
 -static const char selfgcolor[]      = "#eeeeee";
 +static const char normbordercolor[] = "#003000";
-+static const char normbgcolor[]     = "#445044";
++static const char normbgcolor[]     = "#102010";
 +static const char normfgcolor[]     = "#aaaaaa";
 +static const char selbordercolor[]  = "#ff0000";
 +static const char selbgcolor[]      = "#006600";

          
@@ 38,7 38,7 @@ diff -r 52cda53b5610 config.def.h
  static const int nmaster      = 1;    /* number of clients in master area */
  static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
  
-@@ -51,14 +52,14 @@
+@@ -51,14 +52,16 @@
  
  /* commands */
  static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */

          
@@ 46,17 46,19 @@ diff -r 52cda53b5610 config.def.h
 -static const char *termcmd[]  = { "st", NULL };
 +static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
 +static const char *termcmd[]  = { "urxvt", NULL };
++static const char *lockcmd[]  = { "slock", NULL };
  
  static Key keys[] = {
  	/* modifier                     key        function        argument */
  	{ MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
  	{ MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },
 -	{ MODKEY,                       XK_b,      togglebar,      {0} },
++	{ MODKEY|ControlMask,           XK_Delete, spawn,          {.v = lockcmd } },
 +	{ MODKEY|ShiftMask,             XK_b,      togglebar,      {0} },
  	{ MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
  	{ MODKEY,                       XK_k,      focusstack,     {.i = -1 } },
  	{ MODKEY,                       XK_i,      incnmaster,     {.i = +1 } },
-@@ -68,11 +69,10 @@
+@@ -68,11 +71,10 @@
  	{ MODKEY,                       XK_Return, zoom,           {0} },
  	{ MODKEY,                       XK_Tab,    view,           {0} },
  	{ MODKEY|ShiftMask,             XK_c,      killclient,     {0} },