dwm-meillo

diff kb.c @ 32:082c75b937b5

removed unnecessary crap
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:30:55 +0200
parents 386649deb651
children e90449e03167
line diff
     1.1 --- a/kb.c	Thu Jul 13 01:04:38 2006 +0200
     1.2 +++ b/kb.c	Thu Jul 13 01:30:55 2006 +0200
     1.3 @@ -9,25 +9,19 @@
     1.4  
     1.5  /********** CUSTOMIZE **********/
     1.6  
     1.7 -char *cmdterm[] = { 
     1.8 +char *term[] = { 
     1.9  	"aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn",
    1.10  	"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL
    1.11  };
    1.12  
    1.13 -char *cmdproglist[] = {
    1.14 -		"sh", "-c", "exec `ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null "
    1.15 -		"| awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`", 0
    1.16 -};
    1.17 -
    1.18  static Key key[] = {
    1.19 -	{ Mod1Mask, XK_Return, run, cmdterm },
    1.20 -	{ Mod1Mask, XK_p, run, cmdproglist}, 
    1.21 +	{ Mod1Mask, XK_Return, run, term },
    1.22  	{ Mod1Mask, XK_k, sel, "prev" }, 
    1.23  	{ Mod1Mask, XK_j, sel, "next" }, 
    1.24  	{ Mod1Mask, XK_g, grid, NULL }, 
    1.25  	{ Mod1Mask, XK_f, floating, NULL }, 
    1.26  	{ Mod1Mask, XK_m, max, NULL }, 
    1.27 -	{ Mod1Mask | ShiftMask, XK_c, kill, NULL }, 
    1.28 +	{ Mod1Mask | ShiftMask, XK_c, ckill, NULL }, 
    1.29  	{ Mod1Mask | ShiftMask, XK_q, quit, NULL },
    1.30  };
    1.31