dwm-meillo

diff config.arg.h @ 294:0788e46843c0

applied Sanders changes to config.arg.h
author Anselm R.Garbe <arg@10ksloc.org>
date Tue, 15 Aug 2006 08:38:19 +0200
parents 8e6e0aa5e2ae
children 7565875d07d3
line diff
     1.1 --- a/config.arg.h	Tue Aug 15 08:25:11 2006 +0200
     1.2 +++ b/config.arg.h	Tue Aug 15 08:38:19 2006 +0200
     1.3 @@ -18,31 +18,27 @@
     1.4  #define KEYS \
     1.5  static Key key[] = { \
     1.6  	/* modifier			key		function	arguments */ \
     1.7 +	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
     1.8 +		{ .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -fn '"FONT"'" } }, \
     1.9 +	{ MODKEY,			XK_Tab,		focusnext,	{ 0 } }, \
    1.10 +	{ MODKEY|ShiftMask,		XK_Tab,		focusprev,	{ 0 } }, \
    1.11 +	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
    1.12 +	{ MODKEY,			XK_m,		togglemax,	{ 0 } }, \
    1.13 +	{ MODKEY|ShiftMask,		XK_1,		tag,		{ .i = 0 } }, \
    1.14 +	{ MODKEY|ShiftMask,		XK_2,		tag,		{ .i = 1 } }, \
    1.15 +	{ MODKEY|ShiftMask,		XK_3,		tag,		{ .i = 2 } }, \
    1.16 +	{ MODKEY|ControlMask|ShiftMask,	XK_1,		toggletag,	{ .i = 0 } }, \
    1.17 +	{ MODKEY|ControlMask|ShiftMask,	XK_2,		toggletag,	{ .i = 1 } }, \
    1.18 +	{ MODKEY|ControlMask|ShiftMask,	XK_3,		toggletag,	{ .i = 2 } }, \
    1.19 +	{ MODKEY|ShiftMask,		XK_c,		killclient,	{ 0 } }, \
    1.20 +	{ MODKEY,			XK_space,	togglemode,	{ 0 } }, \
    1.21  	{ MODKEY,			XK_1,		view,		{ .i = 0 } }, \
    1.22  	{ MODKEY,			XK_2,		view,		{ .i = 1 } }, \
    1.23  	{ MODKEY,			XK_3,		view,		{ .i = 2 } }, \
    1.24 -	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
    1.25 -	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
    1.26 -	{ MODKEY,			XK_m,		togglemax,	{ 0 } }, \
    1.27 -	{ MODKEY,			XK_p,		spawn, \
    1.28 -		{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
    1.29 -			"awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
    1.30 -	{ MODKEY,			XK_space,	togglemode,	{ 0 } }, \
    1.31 -	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
    1.32  	{ MODKEY|ControlMask,		XK_1,		toggleview,	{ .i = 0 } }, \
    1.33  	{ MODKEY|ControlMask,		XK_2,		toggleview,	{ .i = 1 } }, \
    1.34  	{ MODKEY|ControlMask,		XK_3,		toggleview,	{ .i = 2 } }, \
    1.35 -	{ MODKEY|ShiftMask,		XK_1,		tag,		{ .i = 0 } }, \
    1.36 -	{ MODKEY|ShiftMask,		XK_2,		tag,		{ .i = 1 } }, \
    1.37 -	{ MODKEY|ShiftMask,		XK_3,		tag,		{ .i = 2 } }, \
    1.38 -	{ MODKEY|ShiftMask,		XK_c,		killclient,	{ 0 } }, \
    1.39  	{ MODKEY|ShiftMask,		XK_q,		quit,		{ 0 } }, \
    1.40 -	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
    1.41 -		{ .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -cr '#eeeeee' +sb " \
    1.42 -			"-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \
    1.43 -	{ MODKEY|ControlMask|ShiftMask,	XK_1,		toggletag,	{ .i = 0 } }, \
    1.44 -	{ MODKEY|ControlMask|ShiftMask,	XK_2,		toggletag,	{ .i = 1 } }, \
    1.45 -	{ MODKEY|ControlMask|ShiftMask,	XK_3,		toggletag,	{ .i = 2 } }, \
    1.46  };
    1.47  
    1.48  #define RULES \