dwm-meillo

changeset 680:cfe656fc969a

switching to arabic tags
author Anselm R. Garbe <arg@suckless.org>
date Thu, 11 Jan 2007 16:03:06 +0100
parents 5f0134b88b8d
children 335c93c666c7
files config.arg.h
diffstat 1 files changed, 19 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/config.arg.h	Thu Jan 11 15:51:15 2007 +0100
     1.2 +++ b/config.arg.h	Thu Jan 11 16:03:06 2007 +0100
     1.3 @@ -3,11 +3,11 @@
     1.4   */
     1.5  
     1.6  #define TAGS \
     1.7 -const char *tags[] = { "home", "net", "www", "mon", "fnord", NULL };
     1.8 +const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
     1.9  
    1.10  #define DEFMODE			dotile		/* dofloat */
    1.11  #define FLOATSYMBOL		"><>"
    1.12 -#define TILESYMBOL		"[%u]="
    1.13 +#define TILESYMBOL		"[%u]="		/* %u is replaced with nmaster */
    1.14  
    1.15  #define FONT			"-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*"
    1.16  #define NORMBGCOLOR		"#111111"
    1.17 @@ -44,11 +44,19 @@
    1.18  	{ MODKEY|ShiftMask,		XK_3,		tag,		{ .i = 2 } }, \
    1.19  	{ MODKEY|ShiftMask,		XK_4,		tag,		{ .i = 3 } }, \
    1.20  	{ MODKEY|ShiftMask,		XK_5,		tag,		{ .i = 4 } }, \
    1.21 +	{ MODKEY|ShiftMask,		XK_6,		tag,		{ .i = 5 } }, \
    1.22 +	{ MODKEY|ShiftMask,		XK_7,		tag,		{ .i = 6 } }, \
    1.23 +	{ MODKEY|ShiftMask,		XK_8,		tag,		{ .i = 7 } }, \
    1.24 +	{ MODKEY|ShiftMask,		XK_9,		tag,		{ .i = 8 } }, \
    1.25  	{ MODKEY|ControlMask|ShiftMask,	XK_1,		toggletag,	{ .i = 0 } }, \
    1.26  	{ MODKEY|ControlMask|ShiftMask,	XK_2,		toggletag,	{ .i = 1 } }, \
    1.27  	{ MODKEY|ControlMask|ShiftMask,	XK_3,		toggletag,	{ .i = 2 } }, \
    1.28  	{ MODKEY|ControlMask|ShiftMask,	XK_4,		toggletag,	{ .i = 3 } }, \
    1.29  	{ MODKEY|ControlMask|ShiftMask,	XK_5,		toggletag,	{ .i = 4 } }, \
    1.30 +	{ MODKEY|ControlMask|ShiftMask,	XK_6,		toggletag,	{ .i = 5 } }, \
    1.31 +	{ MODKEY|ControlMask|ShiftMask,	XK_7,		toggletag,	{ .i = 6 } }, \
    1.32 +	{ MODKEY|ControlMask|ShiftMask,	XK_8,		toggletag,	{ .i = 7 } }, \
    1.33 +	{ MODKEY|ControlMask|ShiftMask,	XK_9,		toggletag,	{ .i = 8 } }, \
    1.34  	{ MODKEY|ShiftMask,		XK_c,		killclient,	{ 0 } }, \
    1.35  	{ MODKEY,			XK_space,	togglemode,	{ 0 } }, \
    1.36  	{ MODKEY|ShiftMask,		XK_space,	togglefloat,	{ 0 } }, \
    1.37 @@ -58,18 +66,26 @@
    1.38  	{ MODKEY,			XK_3,		view,		{ .i = 2 } }, \
    1.39  	{ MODKEY,			XK_4,		view,		{ .i = 3 } }, \
    1.40  	{ MODKEY,			XK_5,		view,		{ .i = 4 } }, \
    1.41 +	{ MODKEY,			XK_6,		view,		{ .i = 5 } }, \
    1.42 +	{ MODKEY,			XK_7,		view,		{ .i = 6 } }, \
    1.43 +	{ MODKEY,			XK_8,		view,		{ .i = 7 } }, \
    1.44 +	{ MODKEY,			XK_9,		view,		{ .i = 8 } }, \
    1.45  	{ MODKEY|ControlMask,		XK_1,		toggleview,	{ .i = 0 } }, \
    1.46  	{ MODKEY|ControlMask,		XK_2,		toggleview,	{ .i = 1 } }, \
    1.47  	{ MODKEY|ControlMask,		XK_3,		toggleview,	{ .i = 2 } }, \
    1.48  	{ MODKEY|ControlMask,		XK_4,		toggleview,	{ .i = 3 } }, \
    1.49  	{ MODKEY|ControlMask,		XK_5,		toggleview,	{ .i = 4 } }, \
    1.50 +	{ MODKEY|ControlMask,		XK_6,		toggleview,	{ .i = 5 } }, \
    1.51 +	{ MODKEY|ControlMask,		XK_7,		toggleview,	{ .i = 6 } }, \
    1.52 +	{ MODKEY|ControlMask,		XK_8,		toggleview,	{ .i = 7 } }, \
    1.53 +	{ MODKEY|ControlMask,		XK_9,		toggleview,	{ .i = 8 } }, \
    1.54  	{ MODKEY|ShiftMask,		XK_q,		quit,		{ 0 } }, \
    1.55  };
    1.56  
    1.57  #define RULES \
    1.58  static Rule rule[] = { \
    1.59  	/* class:instance:title regex	tags regex	isfloat */ \
    1.60 -	{ "Firefox.*",			"www",		False }, \
    1.61 +	{ "Firefox.*",			"3",		False }, \
    1.62  	{ "Gimp.*",			NULL,		True }, \
    1.63  	{ "MPlayer.*",			NULL,		True }, \
    1.64  	{ "Acroread.*",			NULL,		True }, \