about summary refs log tree commit diff stats
path: root/config.default.h
Commit message (Expand)AuthorAgeFilesLines
* implemented the maximization as I described on the mailinglist, this feels be...arg@mmvi2006-09-221-1/+0
* made args mode symbols the default ones (the default ones look too ugly)Anselm R. Garbe2006-09-061-2/+2
* renamed resizetile into resizecolAnselm R. Garbe2006-09-051-2/+2
* well ok, added Mod-s to default bindings (however, I don't need it)Anselm R. Garbe2006-09-051-0/+1
* s/growcol/resizetile/gAnselm R. Garbe2006-09-051-1/+1
* I really need column growing, now pushing upstreamAnselm R. Garbe2006-09-051-0/+1
* changed shortcut into Mod1-0Anselm R. Garbe2006-08-311-1/+1
* added viewall to mainstream (only Ross Mohns version, not the toggle)Anselm R. Garbe2006-08-311-0/+1
* applied sanders somepatches.patchAnselm R. Garbe2006-08-281-1/+1
* changed order of optionsAnselm R. Garbe2006-08-251-2/+2
* s/TILED/TILE/gAnselm R. Garbe2006-08-251-1/+1
* removed a bunch of lines, made mode symbols configurableAnselm R. Garbe2006-08-251-0/+2
* new color stuff/new rendering stuffAnselm R. Garbe2006-08-251-3/+8
* back to 3 colorsAnselm R. Garbe2006-08-251-4/+3
* 3->4 colorsAnselm R. Garbe2006-08-241-3/+4
* implemented class:inst:title matchingAnselm R. Garbe2006-08-231-3/+3
* applied zero_to_five patchAnselm R. Garbe2006-08-231-5/+5
* fixed default key bindings (indexes of tags were screwed up)Anselm R. Garbe2006-08-221-20/+20
* removed DEFTAGAnselm R. Garbe2006-08-221-2/+1
* applied the shorter xprop commandAnselm R.Garbe2006-08-171-1/+1
* removed leading ;Anselm R.Garbe2006-08-161-1/+1
* added sample command to config.default.h to highlight how to query class:inst...Anselm R.Garbe2006-08-161-0/+2
* applied jk_to_tab patchAnselm R.Garbe2006-08-151-17/+17
* removed NUMLOCKMASK, added dynamically calculated numlockmask insteadAnselm R.Garbe2006-08-141-1/+0
* changed replacetag into toggletagAnselm R.Garbe2006-08-141-10/+10
* removed viewnext/viewprevAnselm R.Garbe2006-08-141-2/+0
* made shortcuts like proposed by Sander, renamed viewextend to toggleview (mor...Anselm R.Garbe2006-08-131-10/+10
* implemented viewextend and added M-S-C-n shortcuts for extending the current ...Anselm R.Garbe2006-08-111-26/+31
* readded border color, this sucks leastAnselm R.Garbe2006-08-101-0/+1
* removed unnecessary border colorAnselm R.Garbe2006-08-101-1/+0
* switched to regexp matching for Rulesarg@10ksloc.org2006-08-041-4/+3
* fixed a bug in dmenu callarg@10ksloc.org2006-08-041-3/+0
* using execl now, argv changed, using cmd and const char defs directly in the ...arg@10ksloc.org2006-08-041-2/+4
* s/tag2/two/garg@10ksloc.org2006-08-031-2/+2
* stylistic chnagearg@10ksloc.org2006-08-031-2/+2
* removed TLast tag enum, now tags is simple defined as char *[] array, the res...arg@10ksloc.org2006-08-031-27/+21
* changed Client->tags and Rule->tags to be Bool (I'll also try to remove the T...arg@10ksloc.org2006-08-031-2/+2
* changing MASTERW value from 52 to 60 (in both, default and arg), I feel this ...arg@10ksloc.org2006-08-021-1/+1
* removed the CONFIG variable from config.mk, renamed config.h into config.defa...arg@10ksloc.org2006-08-021-0/+62
re>33 34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55




                                                              
              
                                                      

                                                    
                                             
                                                                                  

                                         
                                         

                                        
                                                
 
              

                                                                              


                                                                               




                                                                          
                                                        

                                                                                                 

                                                                          





                                                                               

                                                                          
                                                        
                                                                                       
                                                                                       



                        




                                                                    
  
/*
 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
 * See LICENSE file for license details.
 */

#define TAGS \
const char *tags[] = { "work", "net", "fnord", NULL };

#define DEFMODE			dotile /* dofloat */
#define DEFTAG			0 /* index */
#define FONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
#define BGCOLOR			"#eeeeee"
#define FGCOLOR			"#666699"
#define BORDERCOLOR		"#9999CC"
#define MODKEY			Mod1Mask
#define NUMLOCKMASK		Mod2Mask
#define MASTERW			60 /* percent */

#define KEYS \
static Key key[] = { \
	/* modifier		key		function	arguments */ \
	{ MODKEY,		XK_1,		view,		{ .i = 0 } }, \
	{ MODKEY,		XK_2,		view,		{ .i = 1 } }, \
	{ MODKEY,		XK_3,		view,		{ .i = 2 } }, \
	{ MODKEY,		XK_h,		viewprev,	{ 0 } }, \
	{ MODKEY,		XK_j,		focusnext,	{ 0 } }, \
	{ MODKEY,		XK_k,		focusprev,	{ 0 } }, \
	{ MODKEY,		XK_l,		viewnext,	{ 0 } }, \
	{ MODKEY,		XK_m,		togglemax,	{ 0 } }, \
	{ MODKEY,		XK_p,		spawn, \
		{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
			"awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
	{ MODKEY,		XK_space,	togglemode,	{ 0 } }, \
	{ MODKEY,		XK_Return,	zoom,		{ 0 } }, \
	{ MODKEY|ControlMask,	XK_1,		appendtag,	{ .i = 0 } }, \
	{ MODKEY|ControlMask,	XK_2,		appendtag,	{ .i = 1 } }, \
	{ MODKEY|ControlMask,	XK_3,		appendtag,	{ .i = 2 } }, \
	{ MODKEY|ShiftMask,	XK_1,		replacetag,	{ .i = 0 } }, \
	{ MODKEY|ShiftMask,	XK_2,		replacetag,	{ .i = 1 } }, \
	{ MODKEY|ShiftMask,	XK_3,		replacetag,	{ .i = 2 } }, \
	{ MODKEY|ShiftMask,	XK_c,		killclient,	{ 0 } }, \
	{ MODKEY|ShiftMask,	XK_q,		quit,		{ 0 } }, \
	{ MODKEY|ShiftMask,	XK_Return,	spawn, \
		{ .cmd = "exec uxterm -bg '#dddddd' -fg '#000000' -cr '#000000' +sb " \
			"-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \
};

#define RULES \
static Rule rule[] = { \
	/* class:instance regex		tags regex	isfloat */ \
	{ "Firefox.*",			"net",		False }, \
	{ "Gimp.*",			NULL,		True}, \
	{ "MPlayer.*",			NULL,		True}, \
	{ "Acroread.*",			NULL,		True}, \
};